Not able to find image when new page launches in desktop App

Asked by Soni on 2020-07-28

I try to automate Desktop GUI application which has different pages.
When a new page is launched the cursor still goes to the region where it clicked the previous page image.

Can you please provide some solution for this?

Thank You

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-07-28
Last reply:
2020-07-28
masuo (masuo-ohara) said : #1

As a standard behavior Sikuli internally processes about 3 search operations per second.
A detailed explanation can be found here.
https://sikulix-2014.readthedocs.io/en/latest/scripting.html?highlight=settings#Settings.ObserveScanRate

If the interval between a new page's display and find command's execution is short, that phenomenon may occur.
It is easy way to use wait command before using find command.

Can you help with this problem?

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

To post a message you must log in.