← Back to team overview

sikuli-driver team mailing list archive

[Bug 1025991] Re: Click not Working consistantly

 

Is this on a varying background?

Images working in IE8 might not work in FF7 and vive versa, because of
different rendering engines.

The images should have as little background as possible.

Try this sequence, so it only searches once:

blnElementVisibleFlag =false;
if(sikuliScreen.exists(ImagePath) != null){
                
                sikuliScreen.click(sikuliScreen.getLastMatch());

                blnElementVisibleFlag =true;

                }

So if the image is there, it will be clicked in any case.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1025991

Title:
  Click not Working consistantly

Status in Sikuli:
  New

Bug description:
  Click is not working properly. It is identifying the image but not clicking it. Moreover it is inconsistent.
  Using 

   The version of Sikuli you were using.: Sikuli Version: Sikuli X-1.0rc3(r905) 
   Your operating system, 32-bit or 64-bit, and its version. : Windows 7,  32-bit, Enterprise

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1025991/+subscriptions


References