Hi Bret,
No the applications is currently hosted on the same server. I get the
following error when clicking on a link from one frame which inter updates
another frame.
Exception: unknown property or method `readyState'
HRESULT error code:0x80070005
Access is denied.
The error in the watir.rb comes from the following lines:
until doc.readyState == "complete"
sleep 0.2; s.spin
end
The code used to execute the update is as follows:
@ie.frame("Frame1").link(:text, "SomeLink").click
Thanks for your help.
Cheers,
Akhil
>>> Bret Pettichord <[EMAIL PROTECTED]> Friday, 23 February 2007 2:34 a.m. >>>
Akhil Mehra wrote:
> Hi Guys,
>
> I am currently trying to use Watir (1.5.1.1158) to test Web
> applications in our organization. The web application i am trying to
> build test around have a number of Frames and IFrames and in a number
> of cases heavily nested.
>
> I am currently facing problems where the wait command is not able to
> determine if a sub-frames have loaded consequently causing some of the
> tests to fail. This problem was raised a while ago in the following post:
>
> http://rubyforge.org/pipermail/wtr-general/2005-May/001724.html
>
> But no conclusive answer was agreed upon. I have used the code
> provided in the post to try and meet my needs.
> Is there a better or more stable way of handling heavily nested frames.
>
In the OP, the problem was with frames hosted on a separate server and
therefore giving Access Denied errors. Is this your problem? I believe
Charley is working on a solution for this.
We recently had code added to improve the wait logic for nested frames
for the cases that don't see the Access Denied error.
Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general