Home | History | Annotate | Download | only in UiAutomator
      1 ----------- LaunchSettings Demo -----------
      2 
      3   This demos how we read content-description to properly open the
      4   All Apps view and select and application to launch. Then we will
      5   use the package name to verify that the current window is actually
      6   from the expected package
      7 
      8   To run this demo you must build it first and push it on your device:
      9   # adb push uiautomator.samples.jar /data/local/tmp
     10   # adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.LaunchSettings
     11 
     12 ---------- LogBuildNumber Demo ------------
     13 
     14   This demos how we can scroll list views and verify data in list view
     15   items. Here we do the following:
     16    + Launch Settings
     17    + Select the About
     18    + Read the Build string
     19 
     20   To run this demo you must build it first and push it on your device:
     21   # adb push uiautomator.samples.jar /data/local/tmp
     22   # adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.LogBuildNumber
     23 
     24 ---------- SetTwoMinuteAlarm Demo ---------
     25 
     26   Test demonstrates using the UiAutomator APIs to set an alarm to
     27   go off in 2 minutes
     28 
     29   To run this demo you must build it first and push it on your device:
     30   # adb push uiautomator.samples.jar /data/local/tmp
     31   # adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.SetTwoMinuteAlarm
     32