Self-test questions

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

Get Learning Selenium Testing Tools - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.