Integrate mobile tests and Bamboo

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

Configure the Digital Lab server settings

Configure the Digital Lab server settings in your Bamboo server build.

To configure the server settings:

  1. Create a UFT One File System Execution task.

    For details, see Run local UFT One tests.

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

  3. Enter the following information:

    • Digital Lab URL: The URL of your Digital Lab server.

    • Digital Lab User Name and Password: The user name and password used to access Digital Lab.

    The information you provide is also saved in Tools > Options > GUI Testing tab > Digital Lab node.

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

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

Back to top

Run the Digital Lab wizard

Run the Digital Lab wizard, and select devices and apps for testing in the wizard.

To run the Digital Lab wizard:

  1. Set up your Bamboo build for Digital Lab integration.

    For details, see Configure the Digital Lab server settings.

  2. On the configuration page, click the Open Wizard button.

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

    Note: For the wizard to open successfully, if you are using SSL to secure the connection with Digital Lab, the CA certificate must be installed on the Bamboo server. For details, see Install your CA certificate on a Bamboo server machine.

  4. Do one of the following:

    Select a specific device

    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 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 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 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 Help.

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

  8. Save the configuration.

  9. Run and view the test.

    For details, see Run local UFT One tests.

Back to top

Upload Digital Lab apps

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

To upload Digital Lab apps:

  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 integration as described in Configure the Digital Lab 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: