Using the GUI Spy, you can view and verify the properties of any GUI
object on selected application
Tools->Gui Spy�
Select Spy On ( select Object or Window)
Select Hand icon Button
Point the Object or window & Press Ctrl_L + F3.
You can view and verify the properties.
Using Virtual Object Wizard:
Using the Virtual Object wizard, you can assign a bitmap to a
standard object class, define the coordinates of that object, and assign
it a logical name
tools->Virtual Object Wizard.
Click Next Button
Select standard class object for the virtual object
Ex: class:Push_button
Click Next button
Click Mark Object button
Drag the cursor to mark the area of the virtual object.
Click Next button
Assign the Logical Name, This name will appear in the test script when you record object.
Select Yes or No check box
Click Finish button
Go to winrunner window & Create->Start Recording.
Do some operations
Stop Recording
Using Gui Map Editor:
Using the GUI Map Editor, you can view and modify the properties of any GUI object on selected application.
To modify an object�s logical name in a GUI map file
Tools->GUI Map Editor
Select Learn button
Select the Application
A winrunner message box informs �do you want to learn all objects
within the window� & select �yes�� button.
Select perticular object and select Modify Button
Change the Logical Name& click �OK� Button
Save the File
To find an object in a GUI map file:
Choose Tools > GUI Map Editor.
Choose View > GUI Files.
Choose File > Open to load the GUI map file.
Click Find. The mouse pointer turns into a pointing hand.
Click the object in the application being tested. The object is highlighted in the GUI map file.
To highlight an object in a Application:
Choose Tools > GUI Map Editor.
Choose View > GUI Files.
Choose File > Open to load the GUI map file.
Select the object in the GUI map file
Click Show. The object is highlighted in the Application.