Guidelines for Working in the Global GUI Map File Mode - WinRunner

Consider the following guidelines when working in the Global GUI Map File mode:

  • To improve performance, use smaller GUI map files for testing your application instead of one larger file. You can divide your application’s user interface into different GUI map files by window or in another logical manner.
  • Sometimes the logical name of an object is not descriptive. If you use the GUI Map Editor to learn your application before you record, then you can modify the logical name of the object in the GUI map to a descriptive name by highlighting the object and clicking the Modify button. When WinRunner records on your application, the new name will appear in the test script. If you recorded your test before changing the logical name of the object in the GUI map, make sure to update the logical name of the object accordingly in your test script before you run your test. For more information on modifying the logical name of an object, see “Modifying Logical Names and Physical Descriptions”.
  • Do not store information that WinRunner learns about the GUI of an application in the temporary GUI map file, since this information is not automatically saved when you close WinRunner. Unless you are creating a small, temporary test that you do not intend to reuse, you should save the GUI map from the GUI Map Editor (by choosing File Save) before closing your test.
  • When WinRunner learns the GUI of your application by recording, it learns only those objects upon which you perform operations; it does not learn all the objects in your application. Therefore, unless you are creating a small, temporary test that you do not intend to reuse, it is best for WinRunner to learn the GUI of an application from the RapidTest Script wizard or the Learn button in the GUI Map Editor before you start recording than for WinRunner to learn your application once you start recording.
  • Consider appointing one tester a “GUI Map Administrator,” with responsibility for updating the GUI maps when the GUI of your application changes.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

WinRunner Topics