[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-08 Thread venkat
Hi Bill and all, Many many thanks, i have tried meanwhile I recieve this reply, it works fine now. Thanks very much for sparing your time. venky On Thu, Oct 8, 2009 at 10:21 PM, Bill Agee wrote: > Ah, so after you browse to the main test page, a new window is opened that > contains the content

[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-08 Thread Bill Agee
Ah, so after you browse to the main test page, a new window is opened that contains the content you need to access? In that case you are entering the world of popups and attaching. :) See more info here: http://wiki.openqa.org/display/WTR/Pop+Ups In short, you can use Watir::Browser.attach (or

[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-08 Thread venkat
Hi Bill, The select element is not present as per the error message. So after troubleshooting what i understood is when i clicked on login button, the next page is opening up in a new window rather than opening in the same window, so my script is not verifying the elements in the newly opened

[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-08 Thread Bill Agee
Is the error still happening when locating the select list? It seems to work for me with the HTML you pasted - maybe something else is amiss. ie.select_list(:name , "jurisdiction").select("Development") What happens when you run this? ie.select_list(:name , "jurisdiction").exists? On Wed, Oc

[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-07 Thread venkat
I can't figure it out, could you please help me. Following is the html for Select list item. Calhoun County, MI Development Midla

[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-06 Thread Bill Agee
The exception from Watir indicates the problem is this line: ie.select_list( :name , "jurisdiction").select("Development") As the error says, there's no select list found with the name "jurisdiction". The HTML for that element should show the way to fix the problem - if you can't figure it out

[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-06 Thread venkat
Hi, Thanks for responding back, actually my application is running fine. Exactly Error shown is the following: >ruby y.rb C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5.rc1/lib/watir/element.rb:56:in `assert_exists': Unable to locate element, using :name, "jurisdiction" (Watir::Exception::UnknownOb

[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-05 Thread Anna Gabutero
On Mon, Oct 05, 2009 at 05:46:10PM +0530, venkat wrote: > Hi, > I got the following error and my script fails to identify the list item, > can't click the Select button and Logout too fails. Can anyone please help > me. > > HTTP Status 500 - > This is a problem with the application you're testi

[wtr-general] Re: Script on select list item, clickon btn1 and Logoutfunction()

2009-10-05 Thread Željko Filipin
On Mon, Oct 5, 2009 at 2:16 PM, venkat wrote: > I got the following error and my script fails to identify the list item Looks to me that application that you are testing crashed. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to