What is the exact diff between Global and Gui map file per test?

Questions by srinivasulub1981   answers by srinivasulub1981

Showing Answers 1 - 7 of 7 Answers

Sripal

  • Dec 15th, 2005
 

Global Gui map creates one gui map for the entire application and in Per test mode Each gui map will be created for every screen/window that application has, Which causes memory waste. So Global Gui map is Default.

  Was this answer useful?  Yes

Global gui map file lode in winrunner at the time of winrunner invoked. global gui contais files which will be use overall application testing. gui map files use as per your requirment. per script or you can also use two diffrent gui files in same split.

  Was this answer useful?  Yes

Somasundaram G

  • Dec 19th, 2005
 

Hi, What is the exact diff between Global and Gui map ... Global and gui map file per test are GUI Map organizers. Using Global GUI map file we can learn the entier application using Rapid test script wizard. But in GUI map file per test we can't learn the entire application. The Rapid test script wizard feature is disappeared from the Create option in the winrunner. Pl. let back if any feed back....

  Was this answer useful?  Yes

Saswato

  • Dec 20th, 2005
 

Hi,

The main difference between Global and Gui map file per test is... as the name suggests in Global mode a single script is created for the entire script. Whereas in Gui map file per test a script is generated for each and every window/ screen in the application.

Thus we can say that we can learn about the entire application from the Global test script, whereas from Gui map file per test that is not possible.

  Was this answer useful?  Yes

WR learns each object we are operating, and stores in the GUI Map Files, which are stored in GUI Map Editor.

We can organize these GUI Map files into two ways :

1. Global GUI Map File:

2. GUI Map file per Test mode

1. Global GUI Map File is the default mode. In Global GUI Map file, it learns all the objects in the window into one temporary GUI Map file. We can see this temporary file by Tools -> GUI Map Editor -> L0 <Temporary>.

In this file all objects and their property values will be stored. We need to save this GUI Map file explicitly. If u does not save this file, then all the entries will be remain in this temporary file.

Suppose assume in my application there 10 objects say obj1, obj2, obj3.....obj10 in Window win1.  Assume in Test1 i used obj1, obj3, obj5. These values will be saved in this temporary file. Assume in Test2 i used obj1, obj2,obj3, obj4. Then this time only obj2 and obj4 is added to the temporary file.

So it save our emory.

2. In GUI Map file per test mode, if we save the test script it will saves all the GUI objects in a seperate GUI file. It implicitly saves the GUI Map file, when we save the test script.

Suppose assume in my application there 10 objects say obj1, obj2, obj3.....obj10 in Window win1.  Assume in Test1 i used obj1, obj2, obj3,obj4,obj6,obj8. If u save the test script these values will be saved in the GUI file. Assume in Test2 i used obj1, obj2,obj3, obj4. If i save this test, again it save all the objects obj1, obj2, obj3, obj4, in the GUI file. So wastage of memory.

  Was this answer useful?  Yes

Mohan

  • Apr 27th, 2006
 

Global GUI map file mode: GUI map file contains the propety values fo4 all objects in ur application.

per test: it contains the property values of objects related to that particular test.

Global GUImap file is more advanatageous coz if there any new changes in ur application, u need not modify each test. but incase of per test mode u need to modify the script for each and every test. its takes lot of time.

  Was this answer useful?  Yes

sandhya

  • Aug 3rd, 2006
 

GUI Map File

Global---->1.Test files are created for the entire application

2.It needs to be saved manually.

Pertest Mode---->Test files are created for each test.

2.It will be saved automatically.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions