sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29130
[Bug 1388994] [NEW] [request] Region. highlight() should accept values < 1
Public bug reported:
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,
** Affects: sikuli
Importance: Medium
Assignee: RaiMan (raimund-hocke)
Status: In Progress
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => Medium
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.2.0
--
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:
[request] 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
Follow ups
References