Print Page | Close Window

Adding Bitmap Checkpoints to a Test Script

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: Rational Robot @ OneStopTesting
Forum Discription: General-purpose test automation tool for QA teams who want to perform functional testing of client/server applications.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=3468
Printed Date: 20Jun2024 at 5:51am


Topic: Adding Bitmap Checkpoints to a Test Script
Posted By: tanushree
Subject: Adding Bitmap Checkpoints to a Test Script
Date Posted: 31Oct2007 at 3:21am

http://test-techtools.blogspot.com/2007/03/adding-bitmap-checkpoints-to-test.html - box. Click OK to open the order.
5 Open the Fax Order dialog box.
Choose File > Fax Order.
6 Enter a 10-digit fax number in the Fax Number box.
You do not need to type in parentheses or dashes.
7 Move the Fax Order dialog box.
Position the dialog box so that it least obscures the Flight Reservation window.
8 Switch to Analog mode.
Press F2 on your keyboard or click the Record button to switch to Analog mode.
9 Sign your name in the Agent Signature box.
10 Switch back to Context Sensitive mode.
Press F2 on your keyboard or click the Record button to switch back to Context
Sensitive mode.
11 Insert a bitmap checkpoint that checks your signature.
Choose Create > Bitmap Checkpoint > For Object/Window or click the
Bitmap Checkpoint for Object/Window button on the User toolbar.
Use the pointer to click the Agent Signature box. WinRunner captures the
bitmap and inserts an obj_check_bitmap statement into the test script.
12 Click the Clear Signature button.
The signature is cleared from the Agent Signature box.
13 Insert another bitmap checkpoint that checks the Agent Signature box.
Choose Create > Bitmap Checkpoint > For Object/Window or click the
Bitmap Checkpoint for Object/Window button on the User toolbar.
Use the pointer to click the Agent Signature box. WinRunner captures a
bitmap and inserts an obj_check_bitmap statement into the test script.
14 Click the Cancel button on the Fax Order dialog box.
15 Stop recording.
Choose Create > Stop Recording or click the Stop button.
16 Save the test.
Choose File > Save or click the Save button. Save the test as lesson6 in a
convenient location on your hard drive. Click Save to close the Save Test dialog
box.
17 If you are working in the Global GUI Map File mode, save the new objects
to the GUI map.
Choose Tools > GUI Map Editor. Choose View > GUI Files. Choose File >
Save. Click Yes or OK to add the new object or new window to your GUI map.
Choose File > Exit to close the GUI Map Editor.




Print Page | Close Window