Thursday, March 8, 2007

How Does WinRunner Identify GUI Objects?

How Does WinRunner Identify GUI Objects?
GUI applications are made up of GUI objects such as windows, buttons, lists, and menus. When WinRunner learns the description of a GUI object, it looks at the object’s physical properties. Each GUI object has many physical properties such as "class," "label," "width," "height", "handle," and "enabled" to name a few. WinRunner, however, only learns the properties that uniquely distinguish an object from all other objects in the application. For more information regarding properties, refer to the "Configuring the GUI Map" chapter in the WinRunner User’s Guide. For example, when WinRunner looks at an OK button, it might recognize that the button is located in an Open window, belongs to the pushbutton object class, and has the text label "OK."