Checking for sequntial visual events using Observe
Hello,
I need to check for change in the visual events in a particular region of the window ,for eg : sending message icon ,Send succesful icon or unsuccesful send icon . What is the best way to handle this scenario ? Right now i am creating Sikuli events with in the region for each of these events and waiting for them sequentially , I am using global flags(setting them in the corresponding events) to move to the next sequence Eg:
#Check for Sending
onAppear(
observe(
.......
#Check for Sent
onAppear(
observe(
#check for unsent
#Check for Sent
onAppear(
observe(
The sequence is failing at the second onAppear , the sikuli is not waiting for 60 secs at all .
Is there is something wrong in the way i am using them ?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Sanjay for more information if necessary.