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.
ie.div(:id, “div_b”).iframe(:id, “up_payframe”).text_field(:name,
its not working.
below is the DOM structure taken from firebug