unknown property or method: `readyState'
    HRESULT error code:0x80010108
      The object invoked has disconnected from its clients. (NoMethodError)

I am getting the above error when executing in a virtual node through Jenkins. 
When I run the same in my local machine manually, there's no error. Here's the 
block where its throwing the error

$browser.frame(id: 'Iframe1').table(id: 'reviewHeader').td(id: 
'RESAVE').when_present.click #clicking Save button
sleep(3) # Wait after Save so the 3rd party app. window closes
$browser.window(title: /user/).use # Switch back to the main app window
$browser.wait_for_page_load

Here I click the save button which closes the tab and then I sleep for 3 
seconds. Then I use the window having title 'user' and I wait until the page is 
loaded. The error shows up after I click the Save button, it does not switch to 
the window. I even tried giving more/less sleep time, it didn't work. Help is 
very much appreciated. BTW I am using Watir Classic.

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to