Configuring Map File Mode

 

 

Application map file (GUI map) contains the details of the html objects recorded. These details are required for the identification of the object. Your test suite can either contain one map file global to the entire suite or one map file per script.

 

 

Map File per Script

 

Map File per Script is the default mode which creates the GUI map file for each script. This file is placed in <QEngine_Home>/projects/<Suite_Name>/webscripts/<Script_Name>/ directory with .map extension. The command useLocalMapFile() in the script will indicate that the map file local to this webscript must be used while playback.

 

 

Map File per Suite

 

Map File per Suite mode is enabled by choosing the Edit->Suite Level GUI Map menu item. This mode  creates a global map file for the entire Suite. The global map file is placed in <QEngine_Home>/projects/<Suite_Name>/conf directory. Note that in this case useLocalMapFile() command is not embedded in the webscript.

 

 

Merging Map File

 

Once you feel the number of local map files (map files per script) is increasing and maintenance is an issue, then you can choose to merge them to a single map file.

 

Use the menu option Tools->Merge GUI Map. A confirmation dialog is displayed. Clicking Yes, merges the local map file(s) to global map file and displays a message box to remove the useLocalMapFile() statement from the script.

 

A global map file named global.map will be created under <QEngine Home>/projects/<project>/conf folder.



Copyright © 1999, AdventNet Inc. All Rights Reserved.