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

2014-07-16 Thread Super Kevy
What is the doctype of the parent page? What is the doctype of the frames? I have also seen the issue with frame failures on some older XP machines with limited memory. My work-a-round was to tab to the control - very ugly and brittle. On Wednesday, January 23, 2013 8:38:33 AM UTC-6,

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

2014-07-10 Thread Roberto Luis Pegoraro
hello people I'm having the same problem does anyone have a solution? -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

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

2014-07-10 Thread Joe Fl
Hi Roberto, If you could provide the html and code it would help us to help you come up with resolution to your problem. Joe On Wednesday, January 23, 2013 9:38:33 AM UTC-5, Deepak Kumar wrote: Hi everyone, I am trying to access a text_field of page.HTML format is as follows html

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

2013-02-06 Thread Alex Shtayer
Okay, so provide HTML that you see in IE developer tool $ie.frame(:name,centent).present? = true but $ie.frame(:name,centent).text_field(:name,validateDealer).present? flase so, maybe you have one more sub frame? but it is really not good (it seems that frame is empty or what) irb(main):015:0

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

2013-01-28 Thread Deepak Kumar
Hi, I am using IE developer and also tried developer tool of chrome also :( On Wednesday, January 23, 2013 8:08:33 PM UTC+5:30, Deepak Kumar wrote: Hi everyone, I am trying to access a text_field of page.HTML format is as follows html head-/head body iframe

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

2013-01-24 Thread Deepak Kumar
Hi all, $ie.frame(:name,centent).exists? is returning true for me. Is there any way to check the existence of # document html tags so that i can create a linked query including every tag till the text box. i tried $ie.show_frames but it returns unidentified method On Wednesday, January 23,

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

2013-01-24 Thread Joe Fleck
hi, did you try $ie.frame(:name,centent).text_field(:name,dealerCode).present? I would even try this too: $ie.frame(:name,centent).form(:name,validateDealer).present? and $ie.frame(:name,centent).form(:name,validateDealer).text_field(:name,dealerCode).present? What is '#document'? Is text?

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

2013-01-24 Thread Deepak Kumar
irb(main):051:0 $ie.frame(:name,centent).present? = true irb(main):052:0 $ie.frame(:name,centent).form(:name,validateDealer).present? = false Joe, this is the issue i can only access till frame tag after that it is returning false :( On Wednesday, January 23, 2013 8:08:33 PM UTC+5:30, Deepak

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

2013-01-24 Thread Deepak Kumar
My Bad for using 'form' in the command b(main):010:0 $ie.frame(:name,centent).text_field(:name,validateDealer).present? false b(main):011:0 $ie.frame(:name,centent).text_field(:type,text).present? false i also tried for text_field() On Wednesday, January 23, 2013 8:08:33 PM UTC+5:30, Deepak

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

2013-01-24 Thread Deepak Kumar
Please guys, help me a bit :( On Wednesday, January 23, 2013 8:08:33 PM UTC+5:30, Deepak Kumar 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 *

[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: