Creating a Permanent GUI Map Configuration - WinRunner

By generating TSL statements describing the configuration you set and inserting them into a startup test, you can ensure that WinRunner always uses the correct GUI map configuration for your standard and custom object classes.

To create a permanent GUI map configuration for a class:

  1. Choose Tools > GUI Map Configuration to open the GUI Map Configuration dialog box.
  2. Click a class and click Configure. The Configure Class dialog box opens.
  3. Set the desired configuration for the class. Note that in the bottom pane of the dialog box, WinRunner automatically generates the appropriate TSL statements for the configuration.
  4. To create a permanent GUI map configuration for a class

  5. Paste the TSL statements into a startup test using the Paste button.

For example, assume that in the WinRunner configuration file wrun.ini (located in your Windows folder), your startup test is defined as follows:

[WrEnv]
XR_TSL_INIT = C:testsmy_init

You would open the my_init test in the WinRunner window and paste in the generated TSL lines.

WinRunner window and paste in the generated TSL lines


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

WinRunner Topics