Testing Native Mobile Applications on a Physical
iOS Device
Note: To test native mobile applications or hybrid applications with
Silk Test Workbench, you require a native mobile license. For additional information, see
Licensing Information.
To test a native mobile application (app) or a hybrid application on a physical
iOS device, perform the following tasks:
Add the Mac, to which the
iOS device is connected, as a remote location to the Windows machine on which
Silk Test is installed.
For additional information, see
Editing Remote Locations.
Note:At any given point in time, each user on a Mac can only test on one
iOS device that is connected to the Mac or on one
iOS Simulator that is running on the Mac. To test on multiple
iOS devices or
iOS Simulators on the same Mac, a user session on the Mac is required for each device and Simulator. For additional information, see
Testing Multiple iOS Simulators on the Same Mac
.
Create a
Silk Test Workbench project for your mobile application.
Create a test for your mobile application.
Record the actions that you want to execute in the test.
When you start the
Recording window, the
Select Application dialog box opens.
Select the
Mobile tab.
Select the mobile device, on which you want to test the app, from the list.
Click
Browse to select the app file or enter the full path to the app file into the
Mobile app file text field.
Silk Test Workbench supports HTTP and UNC formats for the path.
Silk Test Workbench installs the app on the mobile device.
Click
OK.
An
iOS device or Simulator must not fall into sleep mode during testing. To turn the screen lock and password off, select
Settings > General > Passcode Lock.
When you have recorded all actions, stop recording.
Replay the test.
Analyze the test results.
Note:To test a native mobile app on both an
iOS device and an
iOS Simulator, ensure that both the signed
.ipa file and the zipped
.app directory are located in the same folder.