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.

Back to top

Property type

Read-only property

Back to top

Syntax

Visual Basic
Public Property Env As String

Back to top

Return type

Returns one of the following:

ValueDescription

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.

Back to top

Example

Desktop web testing code sample

Back to top

See also: