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