sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24958
Re: [Question #245849]: exists() but cannot click()
Question #245849 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245849
Status: Open => Answered
RaiMan proposed the following answer:
I understand:
The problem only happens, when you rerun the script in the IDE.
It does not happen, when start the IDE from scratch and run your script the first time
If this is true and it only happens on restart, then the problem cause
must be after the above snippet is processed the first time.
BTW: What happens in this case?
if mainWin.exists("1395554772408.png"):
print 'click uninstall'
mainWin.click()
On the other hand: If the image is there and found (which obviously is the case, since no FindFailed Exception with the
mainWin.click("1395554772408.png") ) then it is some mouse blocking problem.
One more thing:
After the above code snippet, do you change the FindFailedResponse settings somehow?
Currently not everything is correctly reset on rerun in the IDE.
Second more thing:
when running the script from command line, then it should always work.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.