Why GUI Checkpoint?
Why GUI Checkpoint?
You can check:
- the content of a field
- whether a radio button is on or off
- whether a pushbutton is enabled or disabled
How to Check GUI Objects?
With Single Object:
- Point to it in your application
- Check GUI dialog box opens
- If required change the default property and expected value
- Click ok to insert into the test script
With Multiple Object
- Check GUI dialog box opens
- Click on Add button and point it to the object
- Repeat this for all objects
- Select the properties to check, and click OK to insert a checklist for all the objects into test script.
Adding GUI Checkpoint
With Single Object
- Choose Create > GUI Checkpoint > For Object/ Window
- Use the pointer to double- click the Order No. check box.
- To change the default property click the change button.
- Click the Paste button to add the script into the code.
Assignment 4 GUI Check Point
- Start recording in Context Sensitive mode
- Open the Open Order dialog box
- Create a GUI checkpoint for the Order No. check box
- Enter 4 as the Order No
- Create a GUI checkpoint for the Customer Name check box
- Click OK in the Open Order dialog box to open the order
- Stop recording
- Save the test
- Run the test
- Review the results
- Open version 1B of the Flight Reservation application
- Run the test
- Review the results
Adding Bitmap Checkpoints:
If your application contains bitmap areas, such as drawings or
graphs, you can check these areas using a bitmap checkpoint. A bitmap
checkpoint compares captured bitmap images pixel by pixel.
To create a bitmap checkpoint, you indicate an area, window, or object that you want to check.
WinRunner captures a bitmap image and saves it as expected results. It then
inserts an obj_check_bitmap statement into the test script if it
captures an object, or a win_check_bitmap statement if it captures an
area or window.
When you run the test on a new version of the application,
WinRunner compares the expected bitmap with the actual bitmap in the
application. If any differences are detected, you can view a picture of
the differences from the Test Results window.
Assignment 5 Bitmap Check Point:
- à
- Start recording in Context Sensitive mode
- Open order #6
- Open the Fax Order dialog box
- Enter a 10- digit fax number in the Fax Number box
- Switch to Analog mode
- Sign your name in the Agent Signature box
- Switch back to Context Sensitive mode
- Insert a bitmap checkpoint that checks your signature
- Click the Clear Signature button
- Click the Cancel button on the Fax Order dialog box
- Stop recording and Save the test
- Run the test
- Open version 1B of the Flight Reservation application
- Run the test
- Review the results
------------- http://www.quick2sms.com - Send Unlimited FREE SMS to Any Mobile Anywhere in INDIA,
Click Here
|