Storing data in the Environment object
Environment global object is one of UFT's reserved objects and it can be used to store and retrieve both runtime and design-time data.
For a more detailed description of the
Environment object, please see the next recipe Retrieving data from the Environment object.
How to do it...
Proceed with the following steps:
- To store a parameter at design time, navigate to File | Settings from the UFT menu and then select Environment. From the Variable type list box, select User-defined, as shown in the following screenshot:
- Click on the + button on the right of your Environment window. The Add New Environment Parameter ...