UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
DeviceDescription Class
The description of a mobile Device test object.
Syntax
public class DeviceDescription : HP.LFT.SDK.PropertiesDescription, HP.LFT.SDK.IDescription  
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.PropertiesDescription
      HP.LFT.SDK.Mobile.DeviceDescription

Public Constructors
 NameDescription
Public ConstructorDeviceDescription ConstructorCreates a new instance of DeviceDescription.Initializes a new instance of the DeviceDescription class.  
Top
Public Properties
 NameDescription
Public PropertyDictionaryFor internal usage.  
Public PropertyIdThe device ID used by Mobile Center.  
Public PropertyManufacturerThe manufacturer of the device.  
Public PropertyModelThe model of the device.  
Public PropertyNameThe logical name that Mobile Center 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"

 
Top
Public Methods
 NameDescription
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.  
Top