Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumTesting Tools @ OneStopTestingWinRunner @ OneStopTesting

Message Icon Topic: WinRunner Questions and Answers Part-3

Post Reply Post New Topic
Author Message
Mithi25
Senior Member
Senior Member
Avatar

Joined: 23Jun2009
Online Status: Offline
Posts: 288
Quote Mithi25 Replybullet Topic: WinRunner Questions and Answers Part-3
    Posted: 07Aug2009 at 11:46pm
HTML clipboard

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.
 
  • To find a particular object in the GUI Map file in the application, select the object and click the Show window. This blinks the selected object.
     
  • To find a particular object in a GUI Map file click the Find button, this gives the option to select the object. When the object is selected, if the object has been learned to the GUI Map file it will be focused in the GUI Map file.

Winrunner Question 25: What different actions are performed by find and show button?

What different actions are performed by find and show button?
  • To find a particular object in the GUI Map file in the application, select the object and click the Show window. This blinks the selected object.
     
  • To find a particular object in a GUI Map file click the Find button, this gives the option to select the object. When the object is selected, if the object has been learned to the GUI Map file it will be focused in the GUI Map file.

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.
  • The regexp_label property is used for windows only. It operates “behind the scenes” to insert a regular expression into a window’s label description.
     
  • The regexp_MSW_class property inserts a regular expression into an object’s MSW_class. It is obligatory for all types of windows and for the object class object.

Winrunner Question 31: What is the purpose of regexp_label property and regexp_MSW_class property?

  • The regexp_label property is used for windows only. It operates “behind the scenes” to insert a regular expression into a window’s label description.
     
  • The regexp_MSW_class property inserts a regular expression into an object’s MSW_class. It is obligatory for all types of windows and for the object class object.

 

 

 

 




Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

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



This page was generated in 0.110 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting