Env property
Supported in UFT One versions 14.50 and higher.
Description
Returns the value of the Use combo-box in the Web tab of the Record and Run Settings dialog.
For more details, see Web Tab (Record and Run Settings Dialog Box) in the UFT One Help Center.
Property type
Read-only property
Syntax
Visual Basic |
---|
Public Property Env As String |
Return type
Returns one of the following:
Value | Description |
---|---|
DigitalLab (UFT One 23.4 and later) | Uses a mobile browser on a device accessed via Digital Lab. |
MobileCenter (UFT One 2023 and earlier) | Uses a mobile browser on a device accessed via Mobile Center / UFT Mobile / Digital Lab. |
LocalBrowser | Uses a local browser. |
Example
Desktop web testing code sample
See also: