To test a mobile web application on a physical
iOS device, perform the following tasks:
-
Prepare the
iOS device for testing.
For additional information, see
Preparing an iOS Device for Testing.
-
Prepare the Mac for testing.
For additional information, see
Preparing a Mac for Testing Mobile Applications on iOS.
-
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, you can test on multiple physical
iOS devices that are connected to the Mac, but only on one
iOS Simulator that is running on the Mac. With
Silk Test 17.5 Hotfix 1 or later, you are no longer required to use multiple user sessions on a Mac to test mobile applications on
iOS.
-
Create a
Silk4J 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.
-
To test a mobile web application:
-
Select the
Web tab.
-
Select the mobile browser that you want to use.
-
Specify the web page to open in the
Enter URL to navigate text box.
-
Click
Finish.
An
iOS device or Simulator must not fall into sleep mode during testing. To turn the screen lock and password off, select
.
-
When you have recorded all actions, stop recording.
-
Replay the test.
-
Analyze the test results.