Question #256725 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/256725
Description changed to:
Hi,
I suspect a bug in calling region function
having this simple test:
Region(App("myapp").window(0)).highlight(1)
is good and highlights for 1 second
Region(App("myapp").window(0)).highlight(0.5)
tries to highlight and end with error:
[error] java.lang.IllegalArgumentException (
java.lang.IllegalArgumentException: timeout value is negative )
also tested with general region in the middle of the script
also tested with decimals like 0.3
Help shows this on example using 2 seconds and tells we can use decimal
number. I guess noone ever wanted highlight for shorter time that 1
second so far.
My purpose is, I want make initial Cut of the application to smaller logical
integrities so that the searches then take shorter time.
In order I see visually it was successful, I would welcome even 0.2 highlight
because every seciton then blinks briefly - it creates a nice 1 second "all
good my lord" effect :-) in case of e.g. 5 sections alltogether.
kindly suggesting it may be a bug
Best regards,
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp