@Kristo
Title management of bugs is my job (the developer)
1.1.3+ means it happens in 1.1.3 and 1.1.4 and ...
** Description changed:
- When I export the sikuli script to JAR and open the jar, it says it
- cannot run because it is corrupt. When I run the script however, it
- works perfectly. SO I
New question #681126 on Sikuli:
https://answers.launchpad.net/sikuli/+question/681126
Some time wait() will find a match but for the same screen has() will return
false.
I have a code like :
screen.wait(image, waitInMinute * 60);
if (!screen.has(image)) {
throw new FindFailed(FindFaile
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Description changed to:
Some time wait() will find a match but for the same screen has() will
return false.
I have a code like :
screen.wait(image, 60);
if (!screen.has(image)) {
throw new FindFail
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Description changed to:
Some time wait() will find a match but for the same screen has() will
return false.
I have a code like :
screen.wait(image, 60);
if (!screen.has(image)) {
throw new FindFail
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Description changed to:
Some time wait() will find a match but for the same screen has() will
return false.
I have a code like :
screen.wait(image, 60);
if (!screen.has(image)) {
throw new FindFail
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Status: Open => Answered
RaiMan proposed the following answer:
IMHO, if the image is not found, the FindFailed will already be thrown
by the
screen.wait(image, 60);
--
You received this question notif
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Sahil Doshi posted a new comment:
but in my case wait() will not throwing FindFailed error but has()
returns false
--
You received this question notification because your team Sikuli Drivers
is an answer co
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
RaiMan requested more information:
--- but in my case wait() will not throwing FindFailed
I cannot see from the snippet how you can be sure.
no try...catch
--
You received this question notification becaus
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Sahil Doshi posted a new comment:
I have a wrapper over method.
public Match custWaitForImage(final Pattern image, final double waitInMinute)
throws FindFailed, InterruptedException {
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
RaiMan proposed the following answer:
ok, thanks.
as far as I understand your logic:
example: waitInMinute = 1
double endTime = System.currentTimeMillis() + (waitInMinute * 60 * 1000);
endTime will be now +
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Sahil Doshi posted a new comment:
I have throws for FindFailed
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
RaiMan proposed the following answer:
But only if the has() returns false!
So if has() returns false and works correctly, then before the wait has
already thrown a FindFailed, which is not handled!
--
You
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Sahil Doshi posted a new comment:
That's a problem wait is not throwing error but at has() it is returning
false
--
You received this question notification because your team Sikuli Drivers
is an answer cont
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
RaiMan proposed the following answer:
Then I come back to my simulation above:
at this time:
if (!screen.has(image))
the image is no longer visible.
... in those cases.
--
You received this question noti
Question #681126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681126
Sahil Doshi posted a new comment:
No I have confirmed using save(). Image is visible.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
__
15 matches
Mail list logo