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