[wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Hrishikesh Bose
hello guys - i just tried to find out on how i can automate an AJAX webpage using WATIR. didnt found something good. so got this questions on whether we can use WATIR to automate AJAX web pages. need help. thanks in advance hrishikesh -- Before posting, please read http://watir.com/support.

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Željko Filipin
On Thu, Nov 18, 2010 at 10:32 AM, Hrishikesh Bose hrishikesh.b...@gmail.com wrote: so got this questions on whether we can use WATIR to automate AJAX web pages. You should be able to do it. Most of us automate web applications with a lot of javascript. Let us know if you have a problem with

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Hrishikesh Bose
may be i am new to the Watir. The problem i am facing is as following. . i need to automate a use case which is like a new window. i provide name and password and click save to create a new user. Now the Name and Password are text fields. I can get the ids using developer tool bar. but the

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Prajakta Jadhav
Try using some other element property like name or value instead of id. You could find their values using developer's tool bar. 2010/11/18 Hrishikesh Bose hrishikesh.b...@gmail.com may be i am new to the Watir. The problem i am facing is as following. . i need to automate a use case which

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Željko Filipin
2010/11/18 Hrishikesh Bose hrishikesh.b...@gmail.com so the first time i select the text field i get INPUT id=c_179 Once the page is reloaded i get INPUT id=c_2 You should figure out what is common between them. In this case I would use: browser.text_field(:id = /c_/).set name Or, as

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Hrishikesh Bose
i tried - other attribute which i got is tab index which is 0 for each input field. Don't have name field. On Thu, Nov 18, 2010 at 3:30 PM, Prajakta Jadhav jadhav.praja...@gmail.comwrote: Try using some other element property like name or value instead of id. You could find their values

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Hrishikesh Bose
how can i use index? On Thu, Nov 18, 2010 at 3:35 PM, Hrishikesh Bose hrishikesh.b...@gmail.comwrote: i tried - other attribute which i got is tab index which is 0 for each input field. Don't have name field. On Thu, Nov 18, 2010 at 3:30 PM, Prajakta Jadhav jadhav.praja...@gmail.com

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Željko Filipin
http://wiki.openqa.org/display/WTR/Index Zeljko On Thursday, November 18, 2010, Hrishikesh Bose hrishikesh.b...@gmail.com wrote: how can i use index? On Thu, Nov 18, 2010 at 3:35 PM, Hrishikesh Bose hrishikesh.b...@gmail.com wrote: i tried - other attribute which i got is tab index which