sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #53357
[Bug 1388994] Re: [check] Region. highlight() should accept values < 1
** Summary changed:
- [request] Region. highlight() should accept values < 1
+ [check] Region. highlight() should accept values < 1
** Changed in: sikuli
Milestone: 2.0.0 => 2.0.1
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1388994
Title:
[check] Region. highlight() should accept values < 1
Status in Sikuli:
In Progress
Bug description:
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 ends 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,
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1388994/+subscriptions
References