[wtr-general] Finding the position of element in webpage

2010-02-03 Thread Ramapulla Reddy
Does watir has a way to find the position of an element by giving its id or name or xpath etc if it has it would be good because we can use AutoIt to move mouse and click etc If its there can anyone help me out a way? -- You received this message because you are subscribed to the Google Groups

[wtr-general] Re: Finding the position of element in webpage

2010-02-03 Thread Ramapulla Reddy
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

[wtr-general] Re: Finding the position of element in webpage

2010-02-03 Thread Ramapulla Reddy
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

[wtr-general] Re: How to find class property of an object in FireWatir?

2010-02-04 Thread Ramapulla Reddy
Get firebug add-on for firefox and click on 'click an element in the page to inspect ' button in firebug panel then click on any element for which you want to find the class property. It will highlight the html code of the element and see the class name of the element if it has one. I hope

[wtr-general] Re: FireWatir doesn't wait for the page to load after clicking a button

2010-02-10 Thread Ramapulla Reddy
I have faced same problem and firewatir allows multiple attributes to use. Try using wait_until function to check the element is loaded or not. -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to