background image
<< Recording the Setup Stage | Select the object to verify >>

Recording the Verification Stage

<< Recording the Setup Stage | Select the object to verify >>
96
Getting Started: A Tutorial
5 C
REATING
T
ESTCASES
Recording a Testcase
Step 3: Recording the Verification Stage
Testing applications involves verifying that the state of the GUI object is the
same as the baseline state expected. To achieve this you can:
Test the properties to verify an object
Capture all or part of a bitmap to verify the appearance of an object
Use a method to verify an object
You will perform most of your verifications using properties. The next
exercise will show you how to test the properties of an object. By recording
verification statements for the values of one or more of an object's properties,
you can determine whether the state of the application is correct or in error
when you run your testcases. For more information about verifying objects
see the online Help.
1
Open the Verify Window
(Web): Point to the background of the GMO OnLine homepage. Look at
the Record Status dialog and make sure it is lists GMO. If so, press
Ctrl+Alt.
(client/server): Open the Customer Information window, click Order/
Customer Information
. Point to the title bar of the Customer
Information
window. Look at the Record Status dialog and make sure it
is listing CustomerInformation. If so, press Ctrl+Alt.
Two things happen:
The Capturing Properties dialog appears momentarily
Then the Verify Window appears over your application
Web application
Client/server application