Home | History | Annotate | only in /development/samples/UiAutomator
Up to higher level directory
NameDateSize
Android.mk04-Nov-2014938
project.properties04-Nov-201418
README04-Nov-20141.3K
src/04-Nov-2014

README

      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