[wtr-general] how can i test the ruby chosen droplist?

2013-01-23 Thread eyalgola
Hi I tried to use watir in order to test a ruby made webpage that include some chosen dropdown list. how do i select a value from the list? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] how can i test the ruby chosen droplist?

2013-01-23 Thread Željko Filipin
On Wed, Jan 23, 2013 at 10:24 AM, eyalg...@gmail.com wrote: I tried to use watir in order to test a ruby made webpage that include some chosen dropdown list. how do i select a value from the list? I have made a comment at Stack Overflow: http://stackoverflow.com/q/14475869/17469 Željko --

[wtr-general] Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-23 Thread Deepak Kumar
Hi everyone, I am trying to access a text_field of page.HTML format is as follows html head-/head body iframe name=centent src=homepage.jsp * #document* html slick-uniqueid = 1 head-head

Re: [wtr-general] Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-23 Thread Joe Fleck
Hi, can you provide us with your code? Thank you, Joe On Jan 23, 2013 9:38 AM, Deepak Kumar deepak.maveric...@gmail.com wrote: Hi everyone, I am trying to access a text_field of page.HTML format is as follows html head-/head body iframe name=centent src=homepage.jsp

Re: [wtr-general] Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-23 Thread Oscar Rieken
#document is not creating a problem unless you are using it to locate your frame i agree with joe show us your code and how you are trying to flash the frame On Wed, Jan 23, 2013 at 10:00 AM, Joe Fleck joeflec...@gmail.com wrote: Hi, can you provide us with your code? Thank you, Joe On

[wtr-general] Re: Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-23 Thread captin
Without seeing your code, it's hard to know exactly what you tried. The following should allow you to access the text field: browser.frame(:name, 'centent').text_field(:id, 'your_text_field_id_here').flash On Wednesday, January 23, 2013 8:38:33 AM UTC-6, Deepak Kumar wrote: Hi everyone,

[wtr-general] Re: Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-23 Thread Deepak Kumar
require 'watir' include Watir Watir::Browser.default = 'ie' $ie = Browser.new $ie.goto(https://q2pdc2w4.edc.cingular.net:9300/v2/Login.html;) $ie.text_field(:id,Userid).set(Pos3nbi) $ie.text_field(:id,Password).set(unix11a) $ie.select_list(:id,market).select(Dallas) $ie.image(:id,Submit).click

Re: [wtr-general] Re: Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-23 Thread Joe Fleck
Deepak, I don't see the text_field is your html. Can you give us all of the html? Thanks, Joe Just something I found. May not pertain to your issue. Watir has a method that shows all frames on a page: $ie.show_frames result: there are 2 frames frame index: 1 name: menu frame index: 2 name:

[wtr-general] Watir vs Watir Classic

2013-01-23 Thread richard . allen
Just trying to get some general info. I'm starting from scratch and installed Watir Classic. I have a collegue who had scripts running using Watir 1.9.1. he installed Watir Classic and none of the scripts work. Things like require 'watir/screen_capture' and require 'watir/logger' were not

[wtr-general] Re: Watir vs Watir Classic

2013-01-23 Thread enroxorz
So WATIR (in it's current state) is a combination of both watir-classic and watir-webdriver. watir-classic is a re-working of the old WATIR API to better conform to watir-webdriver, so stuff like browser.text_field(:id, 'whatever').set ('xxx') wont work in the newer watir-classic api (the