How to wait till the next screen is displayed?

Asked by starbaek

Hello,

The application I am trying to automate, after clicking on the application icon, it takes a while for it to load to get to next screen. I tried with Wait function with the next screen image captured but it still errors and I think it's because it's expecting next screen sooner.
I know I used the javascript function Wait(x) before. How can I get around this please?

Thank you!
starbaek

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vishal (vm5feb) said :
#1

You may try like wait(XXXX.PNG, 20) or put for loop increasing the time till it appears.

Can you help with this problem?

Provide an answer of your own, or ask starbaek for more information if necessary.

To post a message you must log in.