and make note of the Workbench URL. You need the Workbench URL to connect the Macintosh computer and mobile devices to the test workbench.
The build archive contains scripts that are needed to prepare the app for testing.
http://Workbench_URL:port/mobile
For example, http://192.0.2.24:7878/mobile
The following folders are included in the build archive: browser, build-script, client, runtime, runtime-bundle.
Attaching the iOS device via USB allows you to install the instrumented application on an iOS device at the end of the instrumentation process. You can attach multiple, compatible iOS devices to the USB ports.
Instrumentation augments the AUT with code that allows you to record and play back a test. You can install the instrumented AUT on the device automatically by running the script with the device option.
You can also replace the device option with simu to install the instrumented AUT in an iOS Simulator, or use the both option to install the AUT on all USB-connected devices and the iOS Simulator.
The rtwBuildXcode.sh script provides support for both Xcode projects, which are described here, and Xcode workspaces. For details about the syntax for Xcode workspaces, see the rtwBuildXcode.sh script.
unpack_dir/build-script/rtwBuildXcode.sh .xcodeproj file Workbench URL options
where options include device, simu, and both.
Here is an example of the command line syntax to instrument an AUT named UICatalog and send it to the test workbench and to all USB-connected devices:
./rtwBuildXcode.sh /Users/mario/iOSApps/UICatalog/UICatalog.xcodeproj/ http://9.54.119.136:7878 device
If you specify the Workbench URL in the command line, the instrumented application is automatically pushed to your test workbench or the test workbench of another user.
You
can also send the .zip file that is generated
by the script to the test team for testing. The tester can add the
AUT to the test workbench by
clicking the Add applications to list icon
in
the Mobile Applications editor.
Incoming applications must be managed to be used in a test. After you run the rtwBuildXcode.sh shell-script, do one of the following actions to manage the application:
For details, see Adding native and hybrid applications to the test workbench.