Android Options Dialog

Applies to TestExecute 15.40, last modified on May 21, 2024

The options of the Android dialog affect testing of Android applications.

To invoke the dialog, right-click the TestExecute icon () in the notification area (tray), select Options from the ensuing context menu and then select Engines | Mobile | Android from the tree displayed on the left side of the resulting Options dialog.

You can change the following options:

  • Auto-wait timeout for Android devices, s - It specifies the number of seconds TestExecute waits for a response from the tested Android device when executing a test command. If TestExecute does not receive a response during the specified time, it considers the simulated test commands failed. Default: 60 seconds.

  • Terminate ADB if it does not respond - TestExecute works with Android devices via Android Debug Bridge (ADB). This setting specifies whether TestExecute will terminate the adb.exe process when the latter stops responding to TestExecute requests.

    ADB can stop responding for a number of reasons. Typically, this happens if you have too many devices connected to your computer. If TestExecute detects an issue and if this setting is on (default), TestExecute terminates the current ADB process and launches a new ADB instance. This approach helps you decrease the waiting time and continue working faster. The disadvantage of this is that connections to all the devices will be broken. This may cause problems with tests or other software that are working with these devices via this ADB instance.

    If you disable the option, TestExecute will not terminate the ADB process automatically. It will display an error message informing you about the issue, so that you can resolve it manually. We recommend that you disable the option if you have some important software that uses the ADB instance (for instance, it gets some logs from the device), and for which automatic disconnection will cause problems.

  • Path to Android SDK - Specifies the path to the Android SDK files installed on the current computer. TestExecute needs this path to find adb.exe, which is the executable of Android Debug Bridge that TestExecute uses to work with Android devices, emulators and virtual machines.

    The internal structure of SDK folders can vary from one release to another. It is recommended to specify the folder that contains the adb.exe file.

  • Path to Java Runtime - Specifies the folder where Java Development Kit (JDK) or Java Runtime Environment (JRE) is installed. For example, C:\Program Files\Java\jdk1.7.0_45 or C:\Program Files\Java\jre7.

See Also

Options Dialog

Highlight search results