Testing the built-in browser on Android emulators

TestArchitect automated tests may be created and run on web applications running within the built-in browser in Android emulators.

Remember: Ensure that the Interface Viewer is closed prior to running automated tests.

Supported Android emulators

  • Android SDK (Software Development Kit), which includes the Android Virtual Device (AVD) emulator that runs on your computer.
  • Genymotion Desktop. (Learn more.)

Supported Android versions

API level Android OS version
API level 23 6.0
API level 22 5.1
API level 21 5.0.x
API level 19 4.4.x

Technological approach

  • Remote Debugging: Remote Debugging is a remote web inspector for debugging web applications on Android emulators. The following must be set up to allow remote debugging to be performed:
  • Event-fired action model: TestArchitect attempts to effectuate built-in actions in a manner that is as close as possible to real user actions. In most cases, for each given UI action, TestArchitect calls a sequence of events as follows.
    Built-in actions Applicable controls Sequence of events triggered
    click, tap all controls touchstart > touchend > mouseover > mousedown > focus > mouseup > click
    click table cell table touchstart > touchend > mouseover > mousedown > focus > mouseup > click
    set list check ul, ol touchstart > touchend > mouseover > mousedown > focus > mouseup > click
    select, click list item select-one, select-multiple click > change
    set input-checkbox, input-radio touchstart > touchend > mouseover > mousedown > focus > mouseup > click
    enter, set input-text, input-password, input-search, input-tel, input-url, input-email, input-number keydown > keypress > input > keyup > change
    textarea keydown > keypress > input > keyup