com.hp.lft.sdk.mobile

Interface DeviceInfo



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

      Modifier and TypeMethod and Description
      java.lang.StringgetFleetType()
      Returns the fleetType of the device, as defined in Digital Lab (UFT Mobile).

      Supported in UFT Developer version 24.2 and later

      java.lang.StringgetId()
      Returns the ID of the device in Digital Lab (UFT Mobile).
      java.lang.StringgetLocation()
      Returns the geographical location of the public device, as defined in Digital Lab (UFT Mobile).

      Supported in UFT Developer version 24.2 and later

      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 Digital Lab (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

      • getFleetType

        Supported in UFT Developer version 24.2 and later

        java.lang.String getFleetType()
        	throws GeneralLeanFtException
        Returns the fleetType of the device, as defined in Digital Lab (UFT Mobile).
        The fleetType is relevant only when the device is hosted by OpenText or stored on an AWS farm. (DeviceSource=HOSTED or AMAZON_DEVICE_FARM)
        Returns:
        the fleetType of the device Digital Lab (UFT Mobile).
        Possible values: ANY (default), PUBLIC, or PRIVATE.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getId

        java.lang.String getId()
        	throws GeneralLeanFtException
        Returns the ID of the device in Digital Lab (UFT Mobile).
        Returns:
        the ID of the device Digital Lab (UFT Mobile).
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getLocation

        Supported in UFT Developer version 24.2 and later

        java.lang.String getLocation()
                        throws GeneralLeanFtException
        Returns the geographical location of the public device, as defined in Digital Lab (UFT Mobile).
        The location is relevant only when the DeviceSource is HOSTED and the fleetType is PUBLIC.
        Returns:
        the geographical location of the public device.
        Possible values: ANY (default) or a string representing the geographic location.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • 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 Digital Lab (UFT Mobile).
        Returns:
        the name of the device as defined in Digital Lab (UFT Mobile).
        Throws:
        GeneralLeanFtException - if an error occurs during execution.