What is the WIN32OLERuntimeError you're getting? Is it access denied? In that case read "Why do I get an access denied error when trying to access a frame?" in wiki at http://wiki.openqa.org/display/WTR/Frames Maybe that helps.
All the relevant source code is visible at https://github.com/bret/watir/blob/master/watir/lib/watir/frame.rb#L9-21 https://github.com/bret/watir/blob/master/watir/lib/watir/container.rb#L117-121 and https://github.com/bret/watir/blob/master/watir/lib/watir/locator.rb#L107-145 Jarmo On Wed, Aug 17, 2011 at 5:59 PM, Michael Mattera <[email protected]>wrote: > Hi, > > I'm new to Ruby and I'm curious as to how Watir uses the WIN32OLE to > connect to the DOM inside a Frame. I have been able to get the frame > ReadyState by ignoring the WIN32OLERuntimeError however I can not access > controls inside of that frame. > > All I can find online is about how to code a Watir test to see frames, > but I want to know how it works behind the scenes. Being new to Ruby I only > understand so much from the Watir source code, I was hoping someone could > give me a good explanation on how to recreate this. > > Mike > > _______________________________________________ > Wtr-development mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-development >
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
