Programs in QAD .NET UI > Recording Program Actions
  
Recording Program Actions
The Program Export File function is a test utility in the QAD .NET UI and is available in the Actions menu for all non-component based programs. This function lets you record your actions as you complete an application process and save the recorded actions to an .XML or .XLS file that you store locally. You then execute the saved .XML or .XLS file in the Execute Document Import function to reproduce the recorded process on screen. Saved files can be exported for testing to another QAD .NET UI environment, or imported into the current environment.
For example, if an error is occurring in the Purchase Order Maintenance flow, select Export File before creating a purchase order. As you process the purchase order, the system records each mouse and keyboard action you take, and also the values you select in each stage of the process. The saved file lists each program, field, and value selected.
Execute Document Import lets you replay the process, loop the recorded file, and step through or pause each action or selection in the process.
To Record Program Actions
1 Launch a program.
2 Choose Actions|Export Data. An Export Data screen is displayed (minimized) on the screen while the system is recording your user actions. Each user action is immediately listed in the Actions grid of this screen, and you can pause, name, and save the recording in this dialog.

Export Data
The Options menu in the Export Data dialog lets you define the data being recorded. Select Record Changes Only to record changed values only, or Record All to record all of your actions, including the values you select during navigation.
3 Run the program, and perform the program tasks you want to record. Recording automatically starts, and the Export Data dialog lists the actions, frames, and fields being recorded.
An Export Data screen is displayed (minimized) on the screen while the system is recording your user actions. Each user action is immediately listed in the Actions grid of this screen, and you can pause, name, and save the recording in this dialog. The Options menu in the Export Data dialog lets you define the data being recorded. Select Record Changes Only to record changed values only, or Record All to record all of your actions, including the values you select during navigation.
4 When you have completed the actions you want to record, choose Save in the Export Data dialog, and save the file to a location. You can save as an .xml file or an .xls file.
To Run Saved Program Actions
1 To run the saved recording, choose Execute Document Import in the Applications Pane, under Administration.

Execute Document Import
2 From the External Import menu, browse to the file you have saved (the .xml or .xls file).
3 Open the file and click Go. You can also Loop the recording or Step through the actions.
A .log file that reports the results of the actions is created when the recording is run. This file has the same prefix as the recording file but is appended with .log.