< Previous | Next >

Lesson 2.2: Uploading apps to test workbench

After connecting the mobile test client with the test workbench, you can upload the apps that are on the mobile device or on emulator to the test workbench. To record a test for an app, you must upload that app to the test workbench.
When you upload an app to the test workbench, the app is instrumented. An instrumented application contains the application under test augmented with code that records or plays back a test. This process does not modify the original app. There are two ways to instrument an Android application: If you have the .apk file on the computer, you can also add the file directly to the test workbench. For information about adding apps to the test workbench, see Importing applications to test in the workbench.
  1. Launch the mobile test client and click Upload Application. The list of applications available in the device or emulator is displayed.
  2. Select the calculator app.
  3. Click Upload Upload. In the test workbench, the app is displayed in the Mobile and Web UI Applications editor. The Test Navigator also displays the application under Mobile and Web UI Incoming applications. An original package is created and copied in the workspace to be used in the test.
  4. In Test Navigator, expand Mobile and Web UI Incoming applications, right-click the calculator app and click Generate managed application.
  5. In the Choose Application wizard, select the myAndProj project.
  6. In File name, change the default name of the app to Calculator.ma and click Finish.
The calculator app is added to the myAndProj project area of the test workbench.

Lesson checkpoint

You created a project area in test workbench and added the calculator app to it.
You learned how to create the project area and how to add an app to the project in the test workbench.
< Previous | Next >

Feedback