Hi

I have attached the complete error i am getting,

the code is simple

ie=Watir::IE.attach(:title,//)

a=ie.frames(:index,1).link(:text ,'ABC')

puts a.to_s


I get the error on Frame 'Access Denied' which i wrote earlier, and then the
error 'couldnot locate the object' as since frame is not accessible, i
cannot access the link.

Have tried all options available on the watir help page for this but nothing
worked...

Regards,
Pallavi


On Mon, Mar 15, 2010 at 3:32 PM, Mrunal <[email protected]> wrote:

>
> Hi Pallavi,
>
> Can u attach the code for which you r getting the error?
>
> Regards,
> Mrunal
>
>
>
> Pallavi Sharma wrote:
>
> Hi
>
>  I have a frame issue with watir, where i get the following error:
>
>  c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in
> `method_missing': document (WIN32OLERuntimeError)
>     OLE error code:80070005 in <Unknown>
>       Access is denied.
>
>
>      HRESULT error code:0x80020009
>       Exception occurred. from
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:52:in
> `document'
>
>
>  Have tried every option available on:
> http://wiki.openqa.org/display/WTR/Frames
>
>  but nothing is working.
>
>  Can anyone here please help me with it.
>
>
>  Regards
>
>  Pallavi.
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: [email protected]
> To unsubscribe: [email protected]
>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: [email protected]
> To unsubscribe: 
> [email protected]<watir-general%[email protected]>
>

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to