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
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)
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:
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
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
** 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
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
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
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
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
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:
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
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
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
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
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
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.
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
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 ,
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
20 matches
Mail list logo