Yes the main reason why am doing this way is none of the objects are recognizable. But i have x,y coordinates of all the objects. If i click an object that will result in a popup and i have to test the popup results also. This is the main reason am completely depending on this approach.
On Thursday, August 8, 2013 4:41:27 AM UTC+5:30, Chuck van der Linden wrote: > > On Thursday, August 1, 2013 10:40:46 PM UTC-7, Srinivas Desai wrote: > >> Hi All, >> >> I need to know how can we click on a particular x and y co-ordinates in >> the browser pane by using watir web driver. >> I already have x,y co-ordinates with me, i just need to click. >> Please let me know how it can be done. >> >> Thanks in advance. >> >> Regards, >> Srinivas. >> >> > using specific x,y coordinates is perhaps one of the best ways to create a > brittle hard to maintain script. running the script on a different system > with different browser size, zoom level, site re-designs, etc all can > break the script. > > Is there a specific reason you are trying to do things this way? Normally > there are far better ways to figure out where to click. And where those > don't work there are tools like Sikuli that work visually which are still > usually a better alternative to a fixed X,Y based action > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
