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
- Install IBM® Rational® Test Workbench Eclipse Client on a Macintosh or Windows computer and ensure that Rational Test Workbench Extension for Mobile is selected. For details,
see Installing
the product software.
- Verify that Apple iTunes is installed on the Macintosh or Windows computer. iTunes is included
by default on Macintosh computers but needs to be downloaded and installed
manually on Windows computers.
- Verify that a valid provisioning profile (.mobileprovision)
exists on each device that you use for testing. To verify that you
have a provisioning profile, tap .
Procedure
- 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.
- In the Test Navigator, right-click the AUT and copy it
to any location in your file system.
- Change the file extension from .ma back
to .zip.
- Open the .zip file with an archive
utility and locate a second .zip file nested
inside.
- Open the nested .zip file and locate
the .ipa file.
- Start iTunes and verify that Apps is listed in the sidebar
of the iTunes library.
If you do not see Apps listed,
click to add Apps to the Library.
- Connect the iOS device to the computer using a USB cable.
The iOS device will now be listed in iTunes.
- Select the iOS device in iTunes, click , 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.
- 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.
- Click Sync to copy the app to the
device.
Results
After you complete these steps, you can start recording a
test.