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
<[email protected]> 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
>>
>> <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]
>
>
>

-- 
-- 
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]



Reply via email to