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 / Digital Lab browser, use the MobileLauncher Object.

  • CloudBrowser: Uses the cloud browser provided by Digital Lab for the test.

    This value is available only in UFT One version 23.4 and later.

Back to top

IMPORTANT

 

Back to top

Example

Desktop web testing code sample

Back to top

See also: