Create a Test for Mobile Apps

Sprinter's integration with Micro Focus UFT Mobile lets you create manual tests on mobile devices running mobile apps.

Prerequisites

To allow the integration between UFT Mobile and Sprinter, make sure you have access to a UFT Mobile server. For details, see the UFT Mobile Help Center.

Back to top

Connect to UFT Mobile

Upon startup, Sprinter prompts you to connect with ALM, a UFT license, or UFT Mobile.

If you connect via UFT Mobile, enter the server details and credentials.

If you connect with ALM, Octane, or a UFT license, then after you login, you enter the UFT Mobile credentials through the Settings dialog box:

  1. Click Settings .

  2. In the Mobile pane, enter the address of your Mobile Lab server and the credentials.
  3. Choose authentication method:
    • Basic authentication. Connect via a username and password.
    • Access key authentication. Connect via execution access key.
  1. If the UFT Mobile server was installed with secure access (https), you will need to select Use SSL. If you did not enable this option, and the Test Connection failed, try selecting this option.

Back to top

Create a Manual Mobile Test

You create your mobile test from Plan mode.

  1. In Plan mode, create or open a test. Select Steps Capture > Application Settings. The Select Application dialog box opens.
  2. In the Applications tab, select a mobile app from the existing apps (indicated by the Mobile icon , or click Add to add a new one. The Add Application dialog box opens.
  3. When adding a new app, click the Mobile App icon . (If you logged in via UFT Mobile, only the Mobile App icon will be shown.)

  4. Enter a name for the application.
  5. To test a native app, system app, or the home screen, click Select App. The UFT Mobile wizard opens. Follow the three wizard screens to select a device, app, and test options. For details, see UFT Mobile wizard.

  6. To test a web application, click Select Browser from the Select App drop-down. The UFT Mobile wizard opens. Follow the three wizard screens to select a device, browser, and device metrics. For details, see UFT Mobile wizard.
  7. Click Save and Close at the top right corner of the wizard window.
  8. (Optional) Select SAPUI5 technology if you are working with SAPUI5 technology in mobile applications. Sprinter will launch the application with the SAP UFT agent in order to record all of the controls.

  9. Click Save App Settings in the Add Application dialog box and Close in the Select Application dialog box.
  10. Select Steps Capture > Capture Steps. The UFT Mobile remote view opens.

    Tip: The actions are captured in the step. Create a new step for each group of actions using the New Step button in the Captured Steps sidebar.

  11. After the remote view loads and installs the apps, begin performing actions on your device. Interact with your device and enter simulations. For information, see Control Panel.
  12. Use the Capture Sidebar to save snapshots for your step.

    Note: The snapshot shows the image before the execution of the action.

  13. End your capture session and proceed as you would with any other test. For details, see Author a Test or Component.

Back to top

See also: