Testing the built-in browser on Android emulators

This feature is on-demand support

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 levelAndroid OS version
API level 236.0
API level 225.1
API level 215.0.x
API level 194.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 actionsApplicable controlsSequence of events triggered
    click, tapall controlstouchstart > touchend > mouseover > mousedown > focus > mouseup > click
    click table celltabletouchstart > touchend > mouseover > mousedown > focus > mouseup > click
    set list checkul, oltouchstart > touchend > mouseover > mousedown > focus > mouseup > click
    select, click list itemselect-one, select-multipleclick > change
    setinput-checkbox, input-radiotouchstart > touchend > mouseover > mousedown > focus > mouseup > click
    enter, setinput-text, input-password, input-search, input-tel, input-url, input-email, input-numberkeydown > 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.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400