[Sikuli-driver] [Question #225697]: Sikuli wrapper

2013-04-02 Thread Snezhana
New question #225697 on Sikuli: https://answers.launchpad.net/sikuli/+question/225697 I have simple sikuli wrapper to log screenshots of patter in region to robot framework log. Originally copied by http://blog.mykhailo.com/2011/02/how-to-sikuli-and-robot-framework.html but slightly changed. W

Re: [Sikuli-driver] [Question #225697]: Sikuli wrapper

2013-04-03 Thread RaiMan
Question #225697 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/225697 Status: Open => Answered RaiMan proposed the following answer: I guess, since you selectively overwrite some methods and find() returns a Match object, that internally inherits from org.sikuli.script.Reg

Re: [Sikuli-driver] [Question #225697]: Sikuli wrapper

2013-04-03 Thread Snezhana
Question #225697 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/225697 Status: Answered => Open Snezhana is still having a problem: Thank you for the fast answer! Unfortunately, I receive an error with your fix TT: TypeError: can't convert Region[217,133 59x24]@Screen(

Re: [Sikuli-driver] [Question #225697]: Sikuli wrapper

2013-04-03 Thread RaiMan
Question #225697 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/225697 Status: Open => Answered RaiMan proposed the following answer: ok, then I have not seen the whole image ;-) then you have to cast the Match objects in the expressions instead like: region1.Region(find

Re: [Sikuli-driver] [Question #225697]: Sikuli wrapper

2013-04-03 Thread Snezhana
Question #225697 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/225697 Status: Answered => Solved Snezhana confirmed that the question is solved: Thank you! Finally this works: Region(region1.find(capture1).left()).click(capture2) Sad I need to rework all lib =( But now I

Re: [Sikuli-driver] [Question #225697]: Sikuli wrapper

2013-04-03 Thread Snezhana
Question #225697 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/225697 Snezhana confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for