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.
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:
- Install TestArchitect Agent. (Learn more.)
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
Installing TestArchitect Agent onto Android emulators
TestArchitect Agent is an essential component in allowing TestArchitect to communicate with the built-in browser running on Android emulators during automated testing.
Invoking the built-in browser in Android emulator during automation
There are two methods by which the built-in browser may be invoked in Android emulators.
Automation testing on the built-in browser in Android emulators
After having completed the prerequisites, you can now start to automate your tests on the built-in browser in the target Android emulators.
LogiGear Corporation
Tel: +1 (650) 572-1400
Email: [email protected]