mardi 26 novembre 2019

How to check programatically if a new screen is fully loaded after a click event in android?

I am running an auto test framework based on UIAutomator. While performing test steps, i wish to know when a new screen in completely loaded after a click event has occurred e.g. a button click.

Currently, i have added 2 seconds wait for the new screen to load but it is not efficient strategy.

I want to handle this case in my test framework and remove the requirement to explicitly wait.

Aucun commentaire:

Enregistrer un commentaire