mardi 11 juin 2019

How check for UI object while long-pressed in UI Automator

I'm testing an app which shows a UI element Only when some other UI is long pressed. Once the user removes the finger/mouse, the UI element is gone.

How can I test the same in UI automator? I managed to long click but it seems that once the statement is executed, it behaves as if the finger is removed.

In short, I want to long press => check if element exists => remove finger (no more pressed). How can I attain the same in UI automator?

Aucun commentaire:

Enregistrer un commentaire