automation - How to automate basic sanity on android? -
my aim run automated test check bare minimum on android build once loaded on device
- boot homescreen
- turn wifi on/off
- turn bt on/off
- start camera - take snapshot
- switch camcorder - take short video
- run audio , video
- 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
Post a Comment