automation - How to automate basic sanity on android? -


my aim run automated test check bare minimum on android build once loaded on device

  1. boot homescreen
  2. turn wifi on/off
  3. turn bt on/off
  4. start camera - take snapshot
  5. switch camcorder - take short video
  6. run audio , video
  7. log file passed , failed.

i entirely using adb.exe on windows host.

what want know how test each of above options adb shell command line?

thanks in advance!

consider using android compatibility test suite (cts).

for example, after you've downloaded cts test package, test camera issue command on host looks following:

./cts-tradefed run cts --class android.hardware.cts.cameratest 

Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -