DeviceDescription Class
The description of a mobile Device test object.

C# Syntax

Inheritance Hierarchy


Public Constructors
  Name Description
Public Constructor DeviceDescription Constructor Creates a new instance of DeviceDescription.Initializes a new instance of the DeviceDescription class.  
Public Properties
  Name Description
Public Property Dictionary For internal usage.  
Public Property Id The device ID used by UFT Mobile.  
Public Property Manufacturer The manufacturer of the device.  
Public Property Model The model of the device.  
Public Property Name The logical name that UFT Mobile uses to identify the device.  
Public Property OsType The operating system currently running on the device.  
Public Property OsVersion The operating system version currently running on the device.

The following symbols are supported:

>, >=, <, <=

For example:

OsVersion = ">4.0"

OsVersion = ">=4.1"

Public Methods
  Name Description
Public Method Clone Creates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )
Public Method static (Shared in Visual Basic) FromDictionary This method creates a new instance of DeviceDescription and initializes it with the given props dictionary.  
Public Method Get Returns the current value of a DeviceDescription capability.  
Public Method Set Sets a DeviceDescription capability to the given value.