When WinRunner learns the description of a GUI object, it looks at the object’s physical properties. Each GUI object has many properties, such as “class,” “label,” “width,” “height”, “handle,” and “enabled”. WinRunner, however, learns only a selected set of these properties in order to uniquely distinguish the object from all other objects in the application.
Before you create the GUI map for an application, or before adding a GUI object to the GUI map, you may want to view the properties of the GUI object. Using the GUI Spy, you can view the properties of any GUI object on your desktop. You use the Spy pointer to point to an object, and the GUI Spy displays the properties and their values in the GUI Spy dialog box.
You can choose to view all the properties of an object, or only the selected set of properties that WinRunner learns.
In the following example, pointing to the Agent Name edit box in the Login window of the sample flight application displays the All Standard tab in the GUI Spy as follows:
To spy on a GUI object:
By default, the GUI Spy displays the Recorded tab, which enables you to view the properties of standard GUI objects that WinRunner records.
Note that as you move the pointer over other objects, each one is highlighted in turn and its description appears in the Description pane.
In the following example, pointing to the Agent Name edit box in the Login window of the sample flight application displays the Recorded tab in the GUI Spy as follows:
If you selected Hide WinRunner before you began spying on objects, the WinRunner screen is displayed again when you press the STOP softkey.
{class: "edit", attached_text: "Agent Name:"}
In the following example, pointing to the “Flights Table” in the Visual Basic sample flight application, pressing the STOP softkey and highlighting the FixedAlignment property, displays the ActiveX tab in
the GUI Spy as follows:
|
|
WinRunner Related Tutorials |
|
---|---|
LoadRunner Tutorial | HTML Tutorial |
QTP Tutorial |
WinRunner Related Interview Questions |
|
---|---|
SILK TEST Interview Questions | LoadRunner Interview Questions |
WinRunner Interview Questions | HTML Interview Questions |
QTP Interview Questions | Manual Testing Interview Questions |
OpenStack Interview Questions | Automation Testing Interview Questions |
API testing Interview Questions | Rational robot Interview Questions |
Selenium IDE Interview Questions | Performance Testing Interview Questions |
Test Director Interview Questions |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.