CTS Verifier for Instant Apps increases Android Compatibility test coverage for Instant Apps by using CTS Verifier to test features that can't be fully automated due to OEM- specific UIs, such as system UIs.
Before running CTS Verifier for Instant Apps, ensure that you have the following equipment:
- Android device that has verified Android API compatibility by successfully passing the CTS. This is the device-under-test (DUT).
- Linux computer with USB 2.0 compatible port. All connections to the DUT are through this port.
Install Instant Apps on DUT
CtsVerifierInstantApp.apk and the CTS verifier are included in
android-cts-verifier.zip, which can be found by logging in to the
The partners can manually build the CTS Verifier to
build CTS to incorporate or test out
new fixes. To manually build
CtsVerifierInstantApp.apk. issue the following command on
CtsVerifierInstantApp.apk, issue the following commands on host.
adb install -r --instant CtsVerifierInstantApp.apk
adb install -r --instant /path/to/CtsVerifierInstantApp.apk
The three system UI tests are displayed in the home screen under the Instant Apps test category.
When you tap a test under the Instant Apps test category, a test screen opens for the test. The test screen contains the following:
- Start Test button
- Three standard CTS Verifier buttons
Tapping the Start Test button launches the sample Instant App.
The first time you tap the Start Test, an alert dialog opens with instructions for installing the sample Instant App (Figure 4). If the sample Instant App is already installed, this dialog isn't shown for other instant app tests.
Tapping the Help button opens a pop-up dialog with description of the test.