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
>>
>> <html>
>>   <head>-</head>
>>         <body>
>>          <iframe name="centent" src="homepage.jsp"> 
>>                    *  #document*
>>                           <html slick-uniqueid = "1"> 
>>                                 <head>-<head>
>>                                 <body>
>>                                     <script> --</script>
>>     <div id = "headerHome">
>> < div class="utilityNavHome" id="utilityNavHome">
>>     <form name = 'validateDealer'>
>>
>> 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.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to