sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18377
[Question #229966]: Checking for sequntial visual events using Observe
New question #229966 on Sikuli:
https://answers.launchpad.net/sikuli/+question/229966
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(target,_checkForStatusChange_sending)
observe(10,background=False)
.......
#Check for Sent
onAppear(target,_checkForStatusChange_sent)
observe(60,background=False)
#check for unsent
#Check for Sent
onAppear(target,_checkForStatusChange_unsent)
observe(10,background=False)
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 ?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.