Environment test settings in UFT

In UFT, we can have 2 types of Environment variables.
  • Built-in
  • User defined
Below image shows some of the built in Environment variables in UFT test.Below image shows how to create user defined variables in UFT test. Note that we can also load the variables from external XML file.External file should be in below format.
 
<Environment>
<Variable>
    <Name>device</Name>
    <Value>iphone</Value>
</Variable>
<Variable>
    <Name>version</Name>
    <Value>9.2</Value>
</Variable>
</Environment>  

Web development and Automation testing

solutions delivered!!