TargetLab Property

Supported in UFT One versions 14.03 and higher.

Description

Defines the device lab used in the record or run session, when specifying a device by capability.

Property type

Read-only. String, one of the following:

  • Any. Uses any device lab defined.

  • DL. Uses the Digital Lab device lab. (UFT One 23.4 and later)

    Note:  

    • UFTM is supported for backward compatibility and when working with UFT Mobile.

    • MC is supported for backward compatibility and when working with Mobile Center.

  • HOSTED. Uses the OpenText hosted device lab.

  • AWS. Uses the AWS Device Farm.

UFT Mobile 2022 or later or Digital Lab:

  • WETEST. Uses the Tencent WeTest device farm.

  • GENYCLOUD. Uses the Genymotion Cloud.

For details, see the Digital Lab Help.

Syntax

Visual Basic
Public Property TargetLab As String

Example

Define a device to use in your test

See also: