Find commands never seems to time out
Sikuli OSX Version X-1.0rc2
Have a simple set of scripts that function when the elements are there. What I am trying to do is error out when there is a change to the UI. Scripts work fine and complete when the elements are correct, but seem to wait forever when they are not there.
Here is the sample script:
setAutoWaitTime
type( , "This is my test entry for you to see that this works")
click( )
find( )
hover( )
find( )
click( )
...
As you can see there is nothing to complicated by this, but find will keep trying forever it seems like. I ran this script from mac command-line and it waited over 2 hours on a find() and once it was found it continue with the next step.
I need to know how to get it to timeout, or throw an error so that I know it failed.
Thanks,
Rod Tietjen
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Rod Tietjen
- Solved:
- Last query:
- Last reply: