[Sikuli-driver] [Bug 780168] Re: X-1.0rc2: Exception access violation

2011-05-10 Thread RaiMan
Might be a problem in this direction: bug 734682 To help the developers: could you provide more information on the circumstances (you say periodically). So e.g. a script might be helpful. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to

[Sikuli-driver] [Bug 780351] [NEW] X-1.0rc2: wish to show operating region borders in slow motion mode

2011-05-10 Thread anatoly techtonik
Public bug reported: It would be awesome if Sikuli could display the border of operating region similar to how it shows the click area in slow mode. Useful for detecting if click area is wrong. It would also be nice to have a window with table of action history (something like undo/redo history)

[Sikuli-driver] [Bug 780351] Re: X-1.0rc2: wish to show operating region borders in slow motion mode

2011-05-10 Thread RaiMan
You might use Region.highlight() for that purpose (). If you use it without a timing parameter it acts as toggling frame. so you might use e.g. setROI(someRegion) if Settings.ShowActions: Region(getROI()).highlight() #switch frame on # your actions if Settings.ShowActions:

Re: [Sikuli-driver] [Question #134349]: setUp and tearDown per class not per test fixture

2011-05-10 Thread Jörg
Question #134349 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/134349 Jörg requested more information: I tried the hack: - When I click Run on the Unit Test sidebar, the main window disappears and the small test window shows up. - Yet, the tests do not start. I think I'm

[Sikuli-driver] [Bug 780369] [NEW] [request] IDE: provide action history with more information

2011-05-10 Thread RaiMan
Public bug reported: it would be nice to have a window with table of action history (something like undo/redo history) that you can manually go through. If you select an item in this log, it shows region corresponding to the action. Sikuli can also place the next action to be executed there for

[Sikuli-driver] [Bug 780351] Re: [request] show operating region borders in slow motion mode

2011-05-10 Thread RaiMan
** Description changed: It would be awesome if Sikuli could display the border of operating region similar to how it shows the click area in slow mode. Useful for detecting if click area is wrong. - - It would also be nice to have a window with table of action history - (something like

Re: [Sikuli-driver] [Question #134349]: setUp and tearDown per class not per test fixture

2011-05-10 Thread RaiMan
Question #134349 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/134349 RaiMan proposed the following answer: This might help to recover from the syntax error https://bugs.launchpad.net/sikuli/+bug/778672/comments/3 In general it is always a good idea, to run your test script

Re: [Sikuli-driver] [Question #134349]: setUp and tearDown per class not per test fixture

2011-05-10 Thread RaiMan
Question #134349 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/134349 RaiMan proposed the following answer: with teardown a colon is missing: def setup(self): try: self.already_done += 1 if self.already_done 0: return except: self.already_done = 0

Re: [Sikuli-driver] [Question #156858]: sikuli script in eclipse

2011-05-10 Thread RaiMan
Question #156858 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/156858 Status: Open = Answered RaiMan proposed the following answer: check this: http://sikuli.org/docx/faq/040-other-ide.html -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #134349]: setUp and tearDown per class not per test fixture

2011-05-10 Thread Jörg
Question #134349 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/134349 Jörg requested more information: number of tests -1 in this example is of course 2. Is there a way to get the number of tests or functions? -- You received this question notification because you are a

Re: [Sikuli-driver] [Question #134349]: setUp and tearDown per class not per test fixture

2011-05-10 Thread RaiMan
Question #134349 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/134349 RaiMan proposed the following answer: Yes I alredy thought about that solution. It is indead possible. I will come back with that. But sometimes one can really be blind for the nice and easy solutions:

Re: [Sikuli-driver] [Question #134349]: setUp and tearDown per class not per test fixture

2011-05-10 Thread RaiMan
Question #134349 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/134349 RaiMan proposed the following answer: And here how to get the number of tests: import inspect numberOfTests = len([e for e in inspect.getmembers(self) if e[0].startswith('test')]) -- You received this

Re: [Sikuli-driver] [Question #156875]: how to paste using the windows shortcut (CTRL_KEY + 'v' does not work)

2011-05-10 Thread RaiMan
Question #156875 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/156875 Status: Open = Answered RaiMan proposed the following answer: the Sikuli command would be (as noted in the docs you found): type(v, KEY_CTRL) the stuff that is in the clipboard in this moment will be

Re: [Sikuli-driver] [Question #156879]: time.time(), Set max value to variable

2011-05-10 Thread RaiMan
Question #156879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/156879 Status: Open = Answered RaiMan proposed the following answer: Not really clear what you mean :-( this e.g. would collect the elapsed times between checkpoints timeCollect = [time.time()] # time at

Re: [Sikuli-driver] [Question #156879]: time.time(), Set max value to variable

2011-05-10 Thread Calle Rundgren
Question #156879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/156879 Status: Answered = Solved Calle Rundgren confirmed that the question is solved: Thank you RaiMan, you did understand despite to my bad explanation. In pseudo I have a couple of functions and I want to

Re: [Sikuli-driver] [Question #156879]: time.time(), Set max value to variable

2011-05-10 Thread RaiMan
Question #156879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/156879 RaiMan posted a new comment: as always: for both of us it is enjoying to see things are moving ;-) have fun! -- You received this question notification because you are a member of Sikuli Drivers, which is

Re: [Sikuli-driver] [Question #156879]: How to collect elapsed time of some parts of a script

2011-05-10 Thread RaiMan
Question #156879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/156879 Description changed to: comment added after problem solved: wants to collect elapsed times in his script and output them to a text file for evaluation.

Re: [Sikuli-driver] [Question #134349]: setUp and tearDown per class not per test fixture

2011-05-10 Thread Jörg
Question #134349 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/134349 Jörg requested more information: The suggestion with testSetUp and testTearDown does not work. The execution of the tests does not seem to be exactly bottom up?! The numberOfTests read correctly! -- You

Re: [Sikuli-driver] [Question #156909]: MAC : Issue with exit code from sikuli for RC2

2011-05-10 Thread Anshu
Question #156909 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/156909 Anshu posted a new comment: Correction : Above statement : currently when i print the value of p - it is = subprocess.Popen object at 0x1004cc790 should be,when i print the value of p.returnode ,

[Sikuli-driver] [Question #156967]: How do determine the x y coordinates

2011-05-10 Thread Al Alder
New question #156967 on Sikuli: https://answers.launchpad.net/sikuli/+question/156967 Since some of the Sikuli commands require the x or y coordinates on the screen, how do I determine what those are? -- You received this question notification because you are a member of Sikuli Drivers, which