SetLab method

Supported in UFT One versions 14.50 and higher.

Description

Defines the test to use the local desktop browser.

For more details, see the Web Tab (Record and Run Settings Dialog Box) in the UFT One Help Center.

Back to top

Syntax

Visual Basic

Public Function SetLab( _
ByVal Lab As String, _
) As WebLauncher

Back to top

Parameters

NameValues
lab

LocalBrowser: Uses the local browser for the test.

To use a Mobile Center / UFT Mobile browser, use the MobileLauncher Object.

Back to top

Example

Desktop web testing code sample

Back to top

See also: