[Wtr-general] Cannot access input element
knoorani at e-xact.com
knoorani at e-xact.com
Wed Sep 6 12:30:39 EDT 2006
the script is written such that it clicks a form and this causes the a new
screen to "popup". The new "popup" is not javascript but a div with
absolute positioning.
When I view source I see the code for the screen in the background. When I
view generated source I see the div.
adding the code gives me this error:
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1928:in
`assert_exists': U
nable to locate object, using value and OK
(Watir::Exception::UnknownObjectExcep
tion)
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:2009:in
`clic
k'
from tescase.rb:51
Thanks,
Karim
> knoorani at e-xact.com wrote:
>> Any Suggestions?
> Yes, send more info.
>
> You said that view source doesn't show the div. What does it show? Can
> you send it?
>
> You said ie.button(:value, "OK").click didn't work. What did it do? Did
> you get an error? Did it click a different button?
>
> Bret
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
More information about the Wtr-general
mailing list