Integrate mobile tests and Bamboo

Integrate your server builds with Digital Lab (UFT Mobile) to access devices and apps residing on the Digital Lab (UFT Mobile) server.

Configure the Digital Lab (UFT Mobile) server settings

  1. Create a UFT One File System Execution task. For details, see Run UFT One tests in a Bamboo server build.

  2. In the tasks configuration page, select Digital Lab Settings.

  3. Enter the following:

    Digital Lab URL

    The URL of your Digital Lab (UFT Mobile) server.

    This information is also saved in the Mobile pane of the UFT One Options dialog (Tools > Options > GUI Testing tab > Digital Lab / Mobile node).

    Digital Lab User Name and Password

    The user name and password used to access Digital Lab (UFT Mobile).

    This information is also saved in the Mobile pane of the UFT One Options dialog (Tools > Options > GUI Testing tab > Digital Lab / Mobile node).

  4. If your connection to the Digital Lab (UFT Mobile) server is secure, enable the Use SSL option.

  5. If your connection to the Digital Lab (UFT Mobile) server is through a proxy, select Use Proxy and provide the proxy information.

Back to top

Run the Digital Lab (UFT Mobile) wizard

  1. Set up your Bamboo build for Digital Lab (UFT Mobile) integration. For details, see Configure the Digital Lab (UFT Mobile) server settings.

  2. On the configuration page, click the Open Wizard button. The Digital Lab (UFT Mobile) windows opens, as long as you have provided the correct server credentials in the previous step.

  3. When prompted, enter your credentials and click Login. The wizard opens to the Device tab.

  4. Do one of the following:

    Select a specific device

    If you want to run your test on a specific device, select Choose Specific Device in the left panel, to view the filter.

    Select a device by capabilities

    If you do not need to test a specific device, create a rule that finds devices that meet your criteria.

    For example, if you need to test Android version 4.1 and higher, on any device, create a rule that only requires 4.1 and higher. Digital Lab (UFT Mobile) shows only the devices that match the criteria.

    In the left panel, select Choose Capabilities to access the Create Rule page. Choose the desired capabilities. Use a wildcard (*) to specify an OS subversion, when using the "Equals" enumerator, for example, 4.*.

    Click the More information button in a device's row to access the auto-fill option, create a reservation, or see device information.

    For more details, see View and Manage Devices in the Digital Lab (UFT Mobile) Help.

  5. Click the Apps tab to view the available apps. Select one or more apps. If the app you want to test is not visible, make sure your filter is not hiding it. You can also add new apps with the Upload app button.

    Tip: We recommend uploading at least one app manually, as described in Upload Digital Lab (UFT Mobile) apps.

  6. Click the Test Options tab to set up the behavior of the apps and the device metrics that you want to generate during the test. For details, see Wizard - Test Options in the Digital Lab (UFT Mobile) Help.

  7. Click Save and Close in the Digital Lab (UFT Mobile) wizard's top right corner.

  8. Save the configuration.

  9. Run and view the test. For details, see Run UFT One tests in a Bamboo server build.

Back to top

Upload Digital Lab (UFT Mobile) apps

To select apps to run during your test, you can upload the app package files directly to the Digital Lab (UFT Mobile) server, instead of using the wizard.

  1. Copy the app package files, for example a file with an .apk extension, to the Bamboo server machine.

  2. Set up your Bamboo build for Digital Lab (UFT Mobile) integration as described in Configure the Digital Lab (UFT Mobile) server settings.

  3. On the Tests pane of the Tasks type page, click the Digital Lab Application Upload task.

  4. For each application you want to add, specify the full path of the app package file on the Bamboo server.

  5. Save the configuration.

Back to top

See also: