DeviceDescription Class
The description of a mobile Device test object.

C# Syntax

Inheritance Hierarchy


Public Constructors
Public ConstructorDeviceDescription ConstructorCreates a new instance of DeviceDescription.Initializes a new instance of the DeviceDescription class.  
Public Properties
Public PropertyDictionaryFor internal usage.  
Public PropertyFleetType

Supported in UFT Developer version 24.2 and later

The fleetType of the device.

The fleetType is relevant only when the device is hosted by OpenText or stored on an AWS farm. (DeviceSource=Hosted or AmazonDeviceFarm)

C# Syntax

public string FleetType {get; set;}

Possible values: Any (default), Public, or Private.

Public PropertyIdThe device ID used by Digital Lab (UFT Mobile).  
Public PropertyLocation

Supported in UFT Developer version 24.2 and later

The geographical location of the public device.

The location is relevant only when the DeviceSource is Hosted and the fleetType is Public.

C# Syntax

public string Location {get; set;}

Possible values: Any (default) or a string representing the geographic location.

Public PropertyManufacturerThe manufacturer of the device.  
Public PropertyModelThe model of the device.  
Public PropertyNameThe logical name that Digital Lab (UFT Mobile) uses to identify the device.  
Public PropertyOsTypeThe operating system currently running on the device.  
Public PropertyOsVersionThe operating system version currently running on the device.

The following symbols are supported:

>, >=, <, <=

For example:

OsVersion = ">4.0"

OsVersion = ">=4.1"

Public Methods
Public MethodCloneCreates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )
Public Methodstatic (Shared in Visual Basic)FromDictionaryThis method creates a new instance of DeviceDescription and initializes it with the given props dictionary.  
Public MethodGetReturns the current value of a DeviceDescription capability.  
Public MethodSetSets a DeviceDescription capability to the given value.