This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to execute ADB commands on Mobile farm device?

I connected to Android Emulator and executed one ADB command "adb devices" in my command prompt window, it showed me connected emulator . Then i executed another adb command to performed some action on emulator and it also worked.

But when i am trying to perform same action on UFT mobile device, its not responding.

Can anyone please suggest me in this?

Tags:

  • Suggested Answer

    0

    Hi Ishan,

    In UFT Mobile you need to use the adb included in UFTM. If the device(s) are connected to the server, ADB will be located under:
    <UFT Mobile Server installation folder>\server\android-sdk-<platform>\platform-tools

    Example:

    C:\Program Files\UFT Mobile Server\server\android-sdk-windows\platform-tools

    If the device(s) are in a connector, the location is:

    <UFT Mobile Server installation folder>\connector\android-sdk-<platform>\platform-tools

    Example:

    C:\Program Files\UFT Mobile Connector\connector\android-sdk-windows\platform-tools

    You should execute the ADB command like "adb devices" from there without issues.

  • 0 in reply to 

    I am using UFT mobile device lab from cloud server.So i dont see such option in mentioned directory.

    but i am using UFT developer Engine as plugin in intellij to see the real time execution on device.

  • 0 in reply to 

    In that case, maybe you could use Dev Access:

    https://admhelp.microfocus.com/uftmobile/en/latest/Content/Dev-access.htm

    Dev Access allows devices to be recognized/used as if they were connected locally.