Configuring Mobile Applications

This functionality is supported only if you are using the Open Agent.

This topic describes how you can configure a native mobile application that runs on a mobile device or an emulator. To configure a mobile web application, see Configuring Web Applications.

Configure the native mobile application that you want to test to set up the environment that Silk Test Classic creates each time that you record or replay a test case.

  1. Start the device or emulator on which you want to test the native mobile application.
  2. Click Configure Applications on the basic workflow bar. If you do not see Configure Applications on the workflow bar, ensure that the default agent is set to the Open Agent. The Select Application dialog box opens.
  3. Select the Mobile tab.
  4. To test a native mobile application (app):
    1. Select the mobile device, on which you want to test the app, from the list.
    2. Select the native mobile application.
      • If you want to install the app on the mobile device or emulator, click Browse to select the app file or enter the full path to the app file into the App file text field. Silk Test Classic supports HTTP and UNC formats for the path.
      • If you want to use an app that is already installed on an Android device, select the app from the Package/Activity list or specify the package and the activity in the Package/Activity field.
      • If you want to use an app that is already installed on an iOS device, specify the Bundle ID.
      • If you want to use an app that is available in Mobile Center, specify the App identifier.
  5. Optional: Check the Create Base State check box to create a base state for the application under test. By default, the Create Base State check box is checked for projects where a base state for the application under test is not defined, and unchecked for projects where a base state is defined. An application’s base state is the known, stable state that you expect the application to be in before each test begins execution, and the state the application can be returned to after each test has ended execution. When you configure an application and create a base state, Silk Test Classic adds an include file based on the technology or browser type that you enable to the Use files location in the Runtime Options dialog box.
  6. Click OK.
    • If you have checked the Create Base State check box, the Choose name and folder of the new frame file page opens. Silk Test Classic configures the recovery system and names the corresponding file frame.inc by default.
    • If you have not checked the Create Base State check box, the dialog box closes and you can skip the remaining steps.
  7. Navigate to the location in which you want to save the frame file.
  8. In the File name text box, type the name for the frame file that contains the default base state and recovery system. Then, click Save. Silk Test Classic creates a base state for the application and opens the include file.
  9. Record the test case whenever you are ready.