If you are working in an environment in which Rational® Test Workbench Mobile
Test Edition & Android Development Toolkit (ADT)
are shell-shared, you can automatically import Android applications
in the test workbench,
launch the instrumentation of the applications, and make them ready
for recording and running tests.
Before you begin
You must modify the configuration file in your Eclipse installation
directory and replace your Java virtual machine (JVM) with Oracle
Java Development Kit (JDK) to be able to run the Android Development
Toolkit. For more information, see the
eclipse.ini web
page. In addition, you must have compiled the Android application
package file (APK) for your application before starting the task.
About this task
You can add Android native or hybrid applications to the test workbench by following the
instructions in Adding applications in the workbench, or by completing
the following steps.
Procedure
- In the Navigator view of the test workbench, right-click on
an Android project or in the bin directory and click .
- In the wizard that opens, enter or select the name of the
folder that will embed your application and the name of the APK file.
Click Finish.
- The application is instrumented and placed in the test
workbench. Now, it is ready for testing. For more information, see Recording
tests from the Android mobile test client