Hi, all, We have a bunch of watir tests written, using the newest version of watir, and we're seeing several of them locking up in the same places each time they're run.
The symptoms are that the browser starts trying to connect to our page, and it just hangs there never actually connecting. If you kill the browser window, you get one of the stack traces below. Our site is high javascript/ajax based, if that could contribute to this problem. Any ideas about what we're doing wrong would be really appreciated! Here is the first method that we're calling where the problem is happening: def do_quick_search_for(quick_search_type_text, quick_search_by_text, quick_search_criteria_text) @ie.select_list(:name, "QuickSearchCriteria").select(quick_search_type_text) @ie.select_list(:name , "QuickSearchSecondaryCriteria").select(quick_search_by_text) @ie.text_field(:name, "TextCriteria").set(quick_search_criteria_text) @ie.button(:id, "quickSearchSubmitButton").click end and the stack trace (line 111 corresponds to the top line of above method) 1) Error: test_page_layout(UAT122OnBoardAmenitiesTest): WIN32OLERuntimeError: unknown property or method `document' HRESULT error code:0x80010108 The object invoked has disconnected from its clients. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1780:in method_missing' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1780:in `document' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1113:in `ole_inner_elements' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1184:in `locate_input_element' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:3719:in `locate' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:2414:in `assert_exists' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:3773:in `select_item_in_select_list' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:3757:in `select' C:/Projects/sothebys/SIROffices.UATs/Watir Tests/Iteration 9/../sotheby_actions.rb:111:in `do_quick_search_for' C:/Projects/sothebys/SIROffices.UATs/Watir Tests/Iteration 9/UAT122_test.rb:11:in `test_page_layout' and the second: @ie.goto(@site_root) causes this stack trace: 1) Error: test_page_layout(UAT122OnBoardAmenitiesTest): WIN32OLERuntimeError: unknown property or method `readyState' HRESULT error code:0x80010108 The object invoked has disconnected from its clients. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1811:in `method_missing' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1811:in `wait' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1693:in `goto' Thanks! bab -- Brian Button [EMAIL PROTECTED] VP Engineering http://www.agilestl.com Asynchrony Solutions http://oneagilecoder.agilestl.com St. Louis, MO 636.399.3146 Extreme Programming in St Louis - http://groups.yahoo.com/group/xpstl -- Brian Button [EMAIL PROTECTED] VP Engineering http://www.agilestl.com Asynchrony Solutions http://oneagilecoder.agilestl.com St. Louis, MO 636.399.3146 Extreme Programming in St Louis - http://groups.yahoo.com/group/xpstl _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general