[wtr-general] Re: problem with fill fields on a login page (maybe frame problem)

2009-04-27 Thread Alexander Fedtke
Thanks for tip i got the result. I just created a new user under windows and i qorks - strange so now i am using another user and the script works. But now i have the problem using the login button ( go button) i try as src: # the Watir controller require watir # set a variable test_site =

[wtr-general] Re: problem with fill fields on a login page (maybe frame problem)

2009-04-27 Thread deralex
found myself via the Watir WebRecorder out the the right line is: ie.frame(:index, 53).image(:index, 4).click - so okay with ie.show_frames { |t| puts t.to_s } i can identify the frame 53 but how i can see the image index? On 27 Apr., 12:35, Alexander Fedtke alexander.fed...@googlemail.com

[wtr-general] Re: problem with fill fields on a login page (maybe frame problem)

2009-04-24 Thread Željko Filipin
On Fri, Apr 24, 2009 at 12:50, Alexander Fedtke alexander.fed...@googlemail.com wrote: Any idea what i can check to make it run? Check if the same page is displayed at your machine. Frame or text field name or id could be different. Željko --~--~-~--~~~---~--~~

[wtr-general] Re: problem with fill fields on a login page (maybe frame problem)

2009-04-24 Thread Alexander Fedtke
I am also using IE 7 like my collegue where the script is aswell working. the tutorial google script runs at booth desks --- # the Watir controller require watir # set a variable test_site = http://www.google.com; # open the IE browser ie = Watir::IE.new # print some comments

[wtr-general] Re: problem with fill fields on a login page (maybe frame problem)

2009-04-24 Thread George
I'm not sure if this helps as I am still learning myself. Using ie.show_frames gives this output: there are 54 frames frame index: 1 name: frmEnginePrint frame index: 2 name: frmEngineTop frame index: 3 name: frmEngineLeft frame index: 4 name: frmDashboard frame index: 5 name: frmR12 frame

[wtr-general] Re: problem with fill fields on a login page (maybe frame problem)

2009-04-23 Thread Željko Filipin
On Thu, Apr 23, 2009 at 16:05, deralex alexander.fed...@googlemail.com wrote: ie.text_field(:name, uid).set testauto # q is the name of the This works for me: ie.frame(:name, frmEngineLogin).text_field(:id, inputUid).set testauto Please read this: http://wiki.openqa.org/display/WTR/Frames

[wtr-general] Re: problem with fill fields on a login page (maybe frame problem)

2009-04-23 Thread deralex
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