in reply to click on buttons which have icons on them and not text

If you are working on windows, you may need to go into the control panel -> mouse -> pointer options and uncheck "enhance pointer precision"

The above setting was ruining my attempted mouse movements, since the cursor doesn't move the requested distance. (much shorter moves at first, seemed to be much bigger than requested after a few in a row) The cursor wasn't even close to the target button when my code sent the click. :(

  • Comment on Re: click on buttons which have icons on them and not text

Replies are listed 'Best First'.
Re^2: click on buttons which have icons on them and not text
by aparna.singh (Initiate) on Nov 29, 2011 at 04:22 UTC
    thanks for this information. So could you please guide on which method should be used, because the button which i want to click on does not have test on it. how wisely can i use the mouseClick() using the screen resolution.