com.hp.lft.sdk.mobile

Interface DeviceInfo



  • public interface DeviceInfo
    Information regarding available mobile device returned from UFT Mobile.
    • Method Summary

      Modifier and TypeMethod and Description
      java.lang.StringgetId()
      Returns the ID of the device UFT Mobile.
      java.lang.StringgetManufacturer()
      Returns the manufacturer of the device.
      java.lang.StringgetModel()
      Returns the model name of the device.
      java.lang.StringgetName()
      Returns name of the device as defined in UFT Mobile.
      java.lang.StringgetOSType()
      Returns the operating system currently running on the device.
      java.lang.StringgetOSVersion()
      Returns the operating system version currently running on the device.
    • Method Detail

      • getManufacturer

        java.lang.String getManufacturer()
                                  throws GeneralLeanFtException
        Returns the manufacturer of the device.
        Returns:
        the manufacturer of the device.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getOSType

        java.lang.String getOSType()
                            throws GeneralLeanFtException
        Returns the operating system currently running on the device.
        Returns:
        the operating system currently running on the device.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getOSVersion

        java.lang.String getOSVersion()
                               throws GeneralLeanFtException
        Returns the operating system version currently running on the device.
        Returns:
        the operating system version currently running on the device.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getName

        java.lang.String getName()
                          throws GeneralLeanFtException
        Returns name of the device as defined in UFT Mobile.
        Returns:
        the name of the device as defined in UFT Mobile.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.