[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, Deepak Kumar wrote:
>
> Hi everyone,
> I am trying to access a text_field of page.HTML format is as follows
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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> 
$ie.frame(:name,"centent").text_field(:name,"dealerCode").set("22r25")
NoMethodError: unknown property or method: `body'

In any case, we need more details

On Monday, January 28, 2013 1:59:41 PM UTC+2, Deepak Kumar wrote:
>
> 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
>>
>> 
>>   -
>> 
>>   
>>*  #document*
>>
>> -
>> 
>>  --
>> 
>> < div class="utilityNavHome" id="utilityNavHome">
>> 
>>
>> i tried through IRB and tried to us flash() function but can only use the 
>> function on Iframe tag after that i am not able to acess any element.
>> Is "#document" creating a problem.
>>
>> Thanks & regards
>> Deepak Kumar
>>  
>>
>>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[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
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group, send email to 
watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




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

2013-01-24 Thread Dan
The html you're putting here, are you getting that from viewing the source 
of the page or using something like Firebug?  If you're viewing the source 
you might no be seeing the right thing.  Whatever is at homepage.jsp will 
replace the content/html of the frame, and not what's in the "raw" html. 
 Bottom line, I don't think that the elements you're talking about are 
what's really there.  Look at it with Firebug or the developer tools in IE 
or Chrome.

On Thursday, January 24, 2013 1:29:45 PM UTC-5, Deepak Kumar wrote:

> 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
>>
>> 
>>   -
>> 
>>   
>>*  #document*
>>
>> -
>> 
>>  --
>> 
>> < div class="utilityNavHome" id="utilityNavHome">
>> 
>>
>> i tried through IRB and tried to us flash() function but can only use the 
>> function on Iframe tag after that i am not able to acess any element.
>> Is "#document" creating a problem.
>>
>> Thanks & regards
>> Deepak Kumar
>>  
>>
>>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com





[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
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com





[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 Kumar wrote:
>
> Hi everyone,
> I am trying to access a text_field of page.HTML format is as follows
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com





[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 Kumar wrote:
>
> Hi everyone,
> I am trying to access a text_field of page.HTML format is as follows
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com





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?

Joe

On Thu, Jan 24, 2013 at 10:18 AM, Deepak Kumar
 wrote:
> 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, 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
>>
>> 
>>   -
>> 
>> 
>>  #document
>>   
>> -
>> 
>>  --
>>
>> < div class="utilityNavHome" id="utilityNavHome">
>>
>>
>> i tried through IRB and tried to us flash() function but can only use the
>> function on Iframe tag after that i am not able to acess any element.
>> Is "#document" creating a problem.
>>
>> Thanks & regards
>> Deepak Kumar
>>
>>
> --
> --
> 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
> watir-general+unsubscr...@googlegroups.com
>
>
>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com





[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, 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
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
-- 
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
watir-general+unsubscr...@googlegroups.com





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











 
Dealer:

 * wrote:

> 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: main
>
> run that in your irb and if its see the frame you might want to use
> its index value instead of name.'
>
>
> On Wed, Jan 23, 2013 at 10:33 AM, Deepak Kumar
>  wrote:
> > 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
> > $ie.frame(:name,"centent").flash
> > $ie.frame(:name,"centent").text_field(:name,"dealerCode").set("22r25")
> >
> >
> > i used the following code and getting the following error
> > irb(main):015:0>
> > $ie.frame(:name,"centent").text_field(:name,"dealerCode").set("22r25")
> > NoMethodError: unknown property or method: `body'
> > HRESULT error code:0x80020006
> >   Unknown name.
> > from
> >
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/frame.rb:30:in
> > `method_missing'
> > from
> >
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/frame.rb:30:in
> > `__ole_inner_elements'
> > from
> >
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:199:in
> > `each_element'
> > from
> >
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:224:in
> > `each'
> > from
> >
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:212:in
> > `locate'
> > from
> >
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/input_elements.rb:5:in
> > `locate'
> > from
> >
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/element.rb:63:in
> > `assert_exists'
> > from
> >
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/input_elements.rb:287:in
> > `set'
> > from (irb):15
> > from c:/rubyshell/ruby/bin/irb:12:in `'
> >
> >
> >
> >
> >
> >
> > 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
> >>
> >> 
> >>   -
> >> 
> >> 
> >>  #document
> >>   
> >> -
> >> 
> >>  --
> >>
> >> < div class="utilityNavHome" id="utilityNavHome">
> >>
> >>
> >> i tried through IRB and tried to us flash() function but can only use
> the
> >> function on Iframe tag after that i am not able to acess any element.
> >> Is "#document" creating a problem.
> >>
> >> Thanks & regards
> >> Deepak Kumar
> >>
> >>
> > --
> > 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
> > watir-general+unsubscr...@googlegroups.com
>
> --
> 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
> watir-general+unsubscr...@googlegroups.com
>

-- 
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
watir-general+unsubscr...@googlegroups.com


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

run that in your irb and if its see the frame you might want to use
its index value instead of name.'


On Wed, Jan 23, 2013 at 10:33 AM, Deepak Kumar
 wrote:
> 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
> $ie.frame(:name,"centent").flash
> $ie.frame(:name,"centent").text_field(:name,"dealerCode").set("22r25")
>
>
> i used the following code and getting the following error
> irb(main):015:0>
> $ie.frame(:name,"centent").text_field(:name,"dealerCode").set("22r25")
> NoMethodError: unknown property or method: `body'
> HRESULT error code:0x80020006
>   Unknown name.
> from
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/frame.rb:30:in
> `method_missing'
> from
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/frame.rb:30:in
> `__ole_inner_elements'
> from
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:199:in
> `each_element'
> from
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:224:in
> `each'
> from
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:212:in
> `locate'
> from
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/input_elements.rb:5:in
> `locate'
> from
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/element.rb:63:in
> `assert_exists'
> from
> c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/input_elements.rb:287:in
> `set'
> from (irb):15
> from c:/rubyshell/ruby/bin/irb:12:in `'
>
>
>
>
>
>
> 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
>>
>> 
>>   -
>> 
>> 
>>  #document
>>   
>> -
>> 
>>  --
>>
>> < div class="utilityNavHome" id="utilityNavHome">
>>
>>
>> i tried through IRB and tried to us flash() function but can only use the
>> function on Iframe tag after that i am not able to acess any element.
>> Is "#document" creating a problem.
>>
>> Thanks & regards
>> Deepak Kumar
>>
>>
> --
> 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
> watir-general+unsubscr...@googlegroups.com

-- 
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
watir-general+unsubscr...@googlegroups.com


[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
$ie.frame(:name,"centent").flash
$ie.frame(:name,"centent").text_field(:name,"dealerCode").set("22r25")


i used the following code and getting the following error
irb(main):015:0> 
$ie.frame(:name,"centent").text_field(:name,"dealerCode").set("22r25")
NoMethodError: unknown property or method: `body'
HRESULT error code:0x80020006
  Unknown name.
from 
c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/frame.rb:30:in
 
`method_missing'
from 
c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/frame.rb:30:in
 
`__ole_inner_elements'
from 
c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:199:in
 
`each_element'
from 
c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:224:in
 
`each'
from 
c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/locator.rb:212:in
 
`locate'
from 
c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/input_elements.rb:5:in
 
`locate'
from 
c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/element.rb:63:in
 
`assert_exists'
from 
c:/rubyshell/ruby/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/input_elements.rb:287:in
 
`set'
from (irb):15
from c:/rubyshell/ruby/bin/irb:12:in `'






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
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
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
watir-general+unsubscr...@googlegroups.com


[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, 
'').flash
 

On Wednesday, January 23, 2013 8:38:33 AM UTC-6, Deepak Kumar wrote:

> Hi everyone,
> I am trying to access a text_field of page.HTML format is as follows
>
> 
>   -
> 
>   
>*  #document*
>
> -
> 
>  --
> 
> < div class="utilityNavHome" id="utilityNavHome">
> 
>
> i tried through IRB and tried to us flash() function but can only use the 
> function on Iframe tag after that i am not able to acess any element.
> Is "#document" creating a problem.
>
> Thanks & regards
> Deepak Kumar
>  
>
>

-- 
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
watir-general+unsubscr...@googlegroups.com