Self-test questions
- How do we set up an Android emulated device for our tests?
- How do you see which devices are connected to the host?
- adb devices
- Adb phones
- Adb handsets
- How do you install the APK on the device or emulator?
adb -s <serialId> -e install -r android-server.apk
- Install it from
http://code.google.com/p/selenium/downloads/list
- both
- How do you start the app on the emulator or device without touching it?
- How do I forward the HTTP traffic to the device?
Abd –s <serialId> redirect tcp:8080 tcp:8080
Abd –s <serialId> redirect tcp:8080 tcp:8080
adb -s <serialId> forward tcp:8080 tcp:8080