-
Book Overview & Buying
-
Table Of Contents
Advanced UFT 12 for Test Engineers Cookbook
The Environment object can be best described as a kind of Dictionary that holds pairs of keys and values. Unlike the native Dictionary, it has extended capacities such as the following:
UFT features that contain built-in variables, which can return useful values during runtime, such as ActionName, ActionIteration, TestName, TestIteration, TestDir, and OS
Defining test internal variables (that is, persistent) or external variables (see the following point)
Loading a set of variables from an external XML file, preset, or dynamically used during runtime
Automation Object Model (AOM) support, which enables the addition of internal variables dynamically before launching a test's run session
The scope of the object is global and is loaded automatically when UFT opens, as is true for all reserved objects
From the File menu, navigate to New | Test, or use the Ctrl + N shortcut.
Proceed with the following steps:
For built-in variables:
Navigate...
Change the font size
Change margin width
Change background colour