Could anybody help with the code below in Ruby / watir??
ie = Watir::IE.start(“http://manymoandzo/cgi-bin/arp3/arp3.pl”)
ie.text_field(:name, “name”).set(“user id”)
$Path = “c:\test.htm”
what I am struggling with is to insert whole content in test.htm to the
field ‘html_text’ in the web site…
this ‘html_text’ field is a big field, and I need to copy what is in
test.htm into ‘html_text’ field using watir… I have about 600 of
these files… which i would like to accomplish using watir…
but it never works out… it is just writing… c:\test.htm in
‘html_text’ field, and what I want this watir program to do is to write
the text inside test.htm file in to the text_field, html_text.
i struggled so many hours… and any help will be greatly appreciated.