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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com



Reply via email to