this might be a dumb question but i haven’t been able to solve this problem for some time already (I am a beginner at this so please bare with me ) -
the scenario (trying to automate a mobile app opening):
I have an app that i want to open but the user can have the app anywhere (either on different “homescreens” or in the app drawer) how do I please search for the app that I want to open if it may be hidden in different homescreens or appdrawer? (because not every android phone does have an app drawer thus I have to “search” for it everywhere)
What I’ve done so far -
is manually scroll and use the “Click if visible” function to try to find it in homescreens, if it cannot, open the drawer and use the “Scroll to element function” to find it there - but here is where i found the problem… if the test finds the app before it goes to the app drawer and starts scrolling there, the test fails when its trying to scroll and find the app (because the app is already opened). Is there a parameter that i can use for this problem?
Thank you very much for any help that you will give me