Watir and frames

Hi, i’m trying to login to a web application using watir. I’ve got a
frameset with the login form in one frame.

I was trying this:

–code–

1 require ‘watir’
2 include Watir
3.
4 ie = Watir::IE.new
5
6 ie.goto(“http://*********:8007/online/”)
7
8 ie.frame(“myframename”).text_field(:name,
“myinputname”).set(“username”)

–code–
at this point i get this output (that, as I understood could be ignored,
as
i got it just running until line 6 ) and this error:

c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1405:in
method_missing' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1405:inwait’
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1404:in upto' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1404:inwait’
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1254:in `goto’

Have you got any idea? Thank you very much

supa

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs