From: Nitin Nazare Date: 2013-02-05T19:02:14+09:00 Subject: Not able to enter value in text box inside the iframe Hello, My team is trying to automate web application using Watir. We are able to automate the application flow successfully, but at the last point we have process where we have to click on purchase button, an iframe gets opened. We have to provide data values in the text box. We are not able to automate this portion (iframe). Can anybody please help us to automate iframe portion. We have tried with the nested element to enter value, but watir is not able to identify the text box. e.g. ie.div(:id, "div_b").iframe(:id, "up_payframe").text_field(:name, "cc").set "12345" its not working. below is the DOM structure taken from firebug
-- Posted via http://www.ruby-forum.com/.