I am not able to attach to a new IE window. When I click on a link in browser it opens new browser. I have to access elements in new browser window. Can any one give suggession to access elements in new browser window.
sample code I have written Watir::Browser.default='ie' browser=Watir::Browser.new browser.goto "site name" browser.link(:text, 'PartnerName').click # it opens a new partner browser window browser1 = Watir::IE.attach(:url, 'partner site url') # here I got error browser1.image(:src, /bt_sign_up/).click when it executed 5th line I got the following error " in `attach_browser_window': Unable to locate a window with url of 'sample url' (Watir::Exception::NoMatchingWindowFoundException)" I think I might have made mistake in my code it self. Please help in this context. Thanks, Vijay --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---