← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #254856]: sikuli-java 1.0.1 - The timeout used by exists method

 

Question #254856 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254856

    Status: Answered => Open

Pathiyil is still having a problem:
Hi,
Will get you the screen size and the dimensions of the image tomorrow
morning. I have 2 screens. The code snippet to do the test is a simple
invocation of screen.exists().

I have to admit that I might have gone on a tangent.

I initially tripped over the fact that screen.exists() by default took a
timeout, where as I expected it to return immediately (considering that
wait with a timeout would do the same). When I was testing it out, I used a
big image (the same size as one of the screen) and the image was not
present in the screen. The fact that it took a few seconds - I assumed it
to be an effect of some wait within exist. I guess it is possible for the
search for a big image to that that long ?

Will retry the exists call with different sized images and post the result
here.

Thanks.


On Mon, Sep 22, 2014 at 8:42 PM, RaiMan <
question254856@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Your question #254856 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/254856
>
> RaiMan posted a new comment:
> sorry, it is running in a VirtualBox
>
> --
> You received this question notification because you asked the question.
>

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.