Željko's example worked for me as well (using IE7).

On Apr 23, 8:58 am, deralex <alexander.fed...@googlemail.com> wrote:
> thanks for the fix it is runing on the pc of a friend but not on my pc
> still got the error
> CODE:
> # the Watir controller
> require "watir"
>
> # set a variable
> test_site = "https://www.go3-stage.engelvoelkers.com/dGPS3.pre/
> default.jsp"
>
> # open the IE browser
> ie = Watir::IE.new
>
> # print some comments
> puts "Beginning of test: Google search."
>
> puts " Step 1: go to the test site: " + test_site
> ie.goto test_site
>
> puts " Step 2.1: enter 'login=testauto' in the search text field."
> ie.frame(:name, "frmEngineLogin").text_field(:id, "inputUid").set
> "testauto"
>
> ERROR Message:>ruby testgo3prestageframeapp.rb
>
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:40:in
> `locate': Unable to locate a frame with name frmEngineLogin
> (Watir::Exception::UnknownFrameException)
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/frame.rb:
> 47:in `initialize'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> container.rb:102:in `new'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> container.rb:102:in `frame'
>         from testgo3prestageframeapp.rb:17
> Beginning of test: Google search.
>  Step 1: go to the test 
> site:https://www.go3-stage.engelvoelkers.com/dGPS3.pre/default.jsp
>  Step 2.1: enter 'login=testauto' in the search text field.
>
> >Exit code: 1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to