Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : WinRunner @ OneStopTesting |
Topic: WinRunner Questions and Answers Part-3 |
|
Author | Message |
Mithi25
Senior Member Joined: 23Jun2009 Online Status: Offline Posts: 288 |
Topic: WinRunner Questions and Answers Part-3 Posted: 07Aug2009 at 11:46pm |
Winrunner Question 22: How do you unload the GUI map? What actually happens when you load GUI map?
How do you unload the GUI map?
We can use GUI_close to unload a specific GUI Map file or else we call use GUI_close_all command to unload all the GUI Map files loaded in the memory. Syntax: GUI_close(<file_name>); or GUI_close_all; What actually happens when you load GUI map? When we load a GUI Map file, the information about the windows and the objects with their logical names and physical description are loaded into memory. So when the WinRunner executes a script on a particular window, it can identify the objects using this information loaded in the memory. Winrunner Question 23: What is the purpose of the temp GUI map file? What is the extension of gui map file?
What is the purpose of the temp GUI map file?
While recording a script, WinRunner learns objects and windows by itself. This is actually stored into the temporary GUI Map file. We can specify whether we have to load this temporary GUI Map file should be loaded each time in the General Options. What is the extension of gui map file? The extension for a GUI Map file is “.gui”. Winrunner Question 24: How do you find an object in an GUI map?
How do you find an object in a GUI map?
The GUI Map Editor is been provided with a Find and Show Buttons.
Winrunner Question 25: What different actions are performed by find and show button?
What different actions are performed by find and show button?
Winrunner Question 26: How do you identify which files are loaded in the GUI map?
How do you identify which files are loaded in the GUI map?
The GUI Map Editor has a drop down “GUI File” displaying all the GUI Map files loaded into the memory. Winrunner Question 27: How do you modify the logical name or the physical description of the objects in GUI map?
How do you modify the logical name or the physical
description of the objects in GUI map?
You can modify the logical name or the physical description of an object in a GUI map file using the GUI Map Editor. Winrunner Question 28: When do you feel you need to modify the logical name?
When do you feel you need to modify the logical
name?
Changing the logical name of an object is useful when the assigned logical name is not sufficiently descriptive or is too long. Winrunner Question 29: When it is appropriate to change physical description?
When it is appropriate to change physical
description?
Changing the physical description is necessary when the property value of an object changes. Winrunner Question 30: How WinRunner handles varying window labels?
How WinRunner handles varying window labels?
We can handle varying window labels using regular expressions. WinRunner uses two “hidden” properties in order to use regular expression in an object’s physical description. These properties are regexp_label and regexp_MSW_class.
Winrunner Question 31: What is the purpose of regexp_label property and regexp_MSW_class property?
|
|
Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.