[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Access Denied error in Watir 1.5.3 (Using Ruby 1.8.6

Samiran Sil

8/14/2008 12:20:00 PM

Dear Friends,

I am getting an error in Watir 1.5.3 (Using Ruby 1.8.6).

Error:

"there are 1 frames
frame index: 1 Access Denied, see
http://wiki.openqa.org/display/WTR/FAQ#acc...
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.3/./watir/element.rb:49:in
`assert_exists': Unable to locate object, using name and
customerFirstName (Watir::Exception::UnknownObjectException)
from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.3/./watir/input_elements.rb:227:in
`to_s'
from samtest.rb:30"


Plz help me out for the same.

Thanks & Regards,
Samiran Sil.
--
Posted via http://www.ruby-....

1 Answer

Shawn Anderson

8/15/2008 8:45:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

Have you read all the FAQ info?

http://wiki.openqa.org/display/WTR/FAQ#FAQ-WhydoIgetanaccessdeniederrorwhentryingtoacces...

Read through it and then repost stating that there is no answer found in the
docs. But, it usually means you are trying to access a frame that's source
is from another domain. I saw this alot for ads that were in iframes.

/Shawn

On Thu, Aug 14, 2008 at 7:20 AM, Samiran Sil <samiran.sil@gmail.com> wrote:

> Dear Friends,
>
> I am getting an error in Watir 1.5.3 (Using Ruby 1.8.6).
>
> Error:
>
> "there are 1 frames
> frame index: 1 Access Denied, see
> http://wiki.openqa.org/display/WTR/FAQ#acc...
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.3/./watir/element.rb:49:in
> `assert_exists': Unable to locate object, using name and
> customerFirstName (Watir::Exception::UnknownObjectException)
> from
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.3/./watir/input_elements.rb:227:in
> `to_s'
> from samtest.rb:30"
>
>
> Plz help me out for the same.
>
> Thanks & Regards,
> Samiran Sil.
> --
> Posted via http://www.ruby-....
>
>