sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34734
[Question #271703]: Once custom targerOffset is used then image is updated
New question #271703 on Sikuli:
https://answers.launchpad.net/sikuli/+question/271703
Hello,
I am facing an issue with targetOffset(). I need in one of my tests to change targetOffset. But once I used it then it is like my image has been overriden and so contains targetOffset. The problem is that this image can be used with and without targetOffset since it belongs to a map.
Here is log from my debug.
first time image is used without changing targetOffset
Icon found (P(POLICY_source_rule_centos_smc5.10.0.png) S: 0.95)
Then I an changing targetOffset with
rightClick(MY_IMAGE.targetOffset(0,int(self.CustomTargetOffSet))
Finally when I want to used same image again
Icon found (P(POLICY_source_rule_centos_smc5.10.0.png) S: 0.95 T: 0,42) <-- T: 0,42 has been automatically added.
Is there a way to avoid this?
Thanks in advance for help.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.