It is possible to view all object properties or a specific set of properties. GUI Spy allows the user to examine the properties of GUI objects on their desktop. The mapping and the configuration setups are typically valid for the current session within WinRunner but configuration statements can be added to the test startup script to make them permanent. When are GUI mappings and configuration setups permanent? There are three filtering options: class, physical description, and logical name.ġ2. GUI objects can be filtered using the Filter option within GUI Map Editor. Yes, the regular expression of a window can be suppressed by replacing the regexp_label property with a label property. Is it possible to suppress a regular expression? Modifying the physical description is appropriate when an object’s property value changes.ġ0. When it is appropriate to modify the physical description of an object in a GUI map? Modifying the logical name of an object is appropriate when the existing name is too long or does not provide a sufficient description.ĩ. When is it appropriate to modify the logical name of an object in a GUI map? When a script for a particular window is executed, the objects can be identified by the information that is loaded.Ĩ. When a GUI map is loaded, all object logical names, physical descriptions, and window information of the information is loaded into memory. Second, object changes may not be recognized if the GUI map file is not loaded into memory at the time so objects may need to be re-learned, and the GUI file may need to be updated and reloaded.ħ. First, when one GUI map file is sued for a large application, a large amount of memory is often required. There are two possible disadvantages of using a startup script to load a GUI map. Is there a disadvantage in using a startup script to load a GUI map? It displays all of the GUI Map files including their objects with physical descriptions and logical name.Ħ. The GUI Map Editor is used to view GUI maps and is located in the Tools menu within WinRunner.
Only functions for selected add-ins are shown in the function generator for script execution. WinRunner add-ins is used to load a particular set of functions into memory. Analog recording – records peripheral inputs from the keyboard and mouse (including cursor position in the x-y coordinate plane).
Context Sensitive – identifies GUI objects and records operations performed in the application.There are two type of recording modes: context sensitive and analog. The Function Generator, WinRunner’s visual programming tool can be used to modify a recorded test script in TSL. WinRunner test scripts are created in the Mercury Interactive Test Script Language (TSL). What language is used to create test scripts in WinRunner? File per Test – for each individual testĢ.Global file – for the whole application.When a test is executed, the GUI map is used to locate object by reading physical description and logical names in the map and searching the application for objects with the same properties.
What information does a GUI map contain?Ī GUI map contains the information that WinRunner learns about an object or a window. WinRunner Interview Questions and Answersġ.