An example of adding GUI checkpoints to test script: |
|
|
- Start win runner and open a new test.
Choose PROGRAMS>WIN RUNNER on start menu. Click NEW TEST button.
- Start the flight reservation application and log in.
Choose PROGRAMS>WIN RUNNER>SAMPLE APPLICATION>FLIGHT 1A on the start menu. Then write your name and password in login window and click ok button.
- Start recording in context sensitive mode.
Choose CREATE>RECORDING or click record button.
- Open the order dialog box.
Choose FILE>OPEN ORDER in the flight reservation application.
- Create a GUI checkpoint for the order number check box.
Choose CREATE>GUI CHECKPOINT>FOR OBJECT/ WINDOW. Then double click the object/ windowwhere you want a checkpoint.
- Enter the order no.
- Click ok button
- Stop recording.
Choose CREATE>STOP RECORDING or click the STOP button.
|
|
The GUI checkpoint can be for single property or object/ window or for multiple objects. |