Using iTunes to install instrumented iOS applications

You can use iTunes on a Macintosh or Windows computer to install an instrumented iOS application on one or more iOS devices. This task applies to users who do not have access to the application source code. After you install the instrumented app on the device, you can begin testing.

Before you begin

Procedure

  1. Obtain a copy of the .zip file that is generated by the rtwBuildXcode.sh script and import it into the test workbench. For details, see Importing applications to test in the workbench.

    After the AUT becomes a managed app, a resource with a .ma file extension is created in the test workbench.

    Note: If an app has not yet been made into a managed app, click the Generate Managed Application button to manage the app.
  2. In the Test Navigator, right-click the AUT and copy it to any location in your file system.
  3. Change the file extension from .ma back to .zip.
  4. Open the .zip file with an archive utility and locate a second .zip file nested inside.
  5. Open the nested .zip file and locate the .ipa file.
  6. Start iTunes and verify that Apps is listed in the sidebar of the iTunes library.

    If you do not see Apps listed, click iTunes > Preferences to add Apps to the Library.

  7. Connect the iOS device to the computer using a USB cable.

    The iOS device will now be listed in iTunes.

  8. Select the iOS device in iTunes, click Files > Add to Library, select the AUT .ipa file, and click Open.

    The AUT .ipa file is added to your iTunes library.

    Note: Alternatively, simply double-click the .ipa file to add the AUT to the iTunes library.
  9. Select the .ipa file, click the Install button, and then click Apply.

    The AUT is now listed in a Home Screens on the right side in iTunes. The Home Screens show the layout of the screens on the device.

  10. Click Sync to copy the app to the device.

Results

After you complete these steps, you can start recording a test.

Feedback