Run UIConductor tests with ATS

Android UIConductor (UICD) is a tool that lets users create testing workflows by recording UI interactions and validating the screen content. Android Test Station supports running tests exported from UICD.

Setup

To run UICD tests with ATS, you must import the UIConductor configuration, which contains the necessary test suites and device actions.

  1. Open Settings and navigate to the Config Sets tab.

  2. Click Import and select the UIConductor config set. You might need to authorize ATS to access Google Cloud Storage.

    Import configuration

    Figure 1. Importing the UIConductor configuration

Run tests

  1. Schedule a UIConductor Test test run (under Test Suites > UIConductor). This test suite can be used to run any exported UICD tests.

    Schedule test run

    Figure 2. Scheduling a UICD test run

  2. Add the Install UIConductor to install the necessary UICD drivers.

    Add device actions

    Figure 3. Adding the required device action

  3. Select the UICD tests to run. By default, the file is expected to be a zip archive containing JSON test files exported from UICD.

    Select test file

    Figure 4. Selecting the test files to execute

  4. Start the test run and wait for completion. Screenshots, XML dumps, and logs generated during the run will be available in the output files.