On Feb 3, 4:04 pm, Željko Filipin <zeljko.fili...@wa-research.ch> wrote: > On Wed, Feb 3, 2010 at 11:52 AM, Ramapulla Reddy <ramapullare...@gmail.com> > wrote: > > > Does watir has a way to find the position of an element by giving its > > id or name or xpath etc > > Please take a look at this: > > http://wiki.openqa.org/display/WTR/Tutorialhttp://watir.com/http://wiki.openqa.org/display/WTR/Project+Home > > Ask if you have questions. >
I went through all those site before posting only. The problem is the mouse over and right click events as mentioned in those sites is not simulating the real mouse right click. I should get a context menu on clicking a image whose position is keep changing. I used the right click as mentioned in http://wiki.openqa.org/display/WTR/Right+Click+an+Element But i am not getting context menu. So if i can get position of that image (and position of that image keeps changing) by some method like ff.image.getposition(some id ) i can use AutoIt3.dll to move mouse cursor really. -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general