Cogitek RIATest 3 Documentation Copyright © Cogitek Inc.

Recording scripts

Starting Recording

Make sure that RIATest tool and Agent are connected (both should show 'Ready' in their titles). Position cursor the place where you want the recorded actions to be placed or create a new script file.

Select Run -> Start Recording (alternatively click 'Record' button in RIATest Agent toolbar). The titles of RIATest tool and Agent will show 'Recording'. Switch to your application window and perform actions that you want to be recorded. Notice how the RIATest tool records actions as statements in the test script window.

Generating Verification Checkpoints

You can hold Ctrl-Shift keys and click on any element in your application to generate automatic verification/checkpoint. When you hold down Ctrl-Shift keys and move mouse cursor RIATest Agent will highlight the component under cursor using semi-transparent green frame for easier identification.

You can also use 'Inspect' button to examine user interface components of your application. RIATest agent will highlight the component under mouse cursor using blue frame, will show identified component's class, name and all available properties. Click on a component to abort 'Inspect' mode.

After a component was inspected you can click 'Verify' button in Agent toolbar. The list of all properties will be shown. You can select whichever properties you want using checkboxes on the left. After clicking OK a checkpoint will be generated. The checkpoint will verify that the values of selected properties match current state.

Ending Recording

Click 'Record' button in RIATest Agent toolbar or select Run -> Stop Recording from RIATest tool to stop recording. Note that you can stop and restart recording any time you want. If you performed mistakes while recording stop it, go to RIATest tool, select incorrect actions and delete them. Restart recording and perform actions that you want to be recorded instead.

When you finished recording you can select Run -> Terminate Application to close the browser window containing your application.

 


Found a typo? Have a suggestion? Please submit your request here.