Hi,
Please try this solution
ie = Watir::IE.start(http://www.test.com;)
file = File.open(c:/test.txt, r)
lines = file.readlines
1st_value_1st_row=lines[0].split[0]
2nd_value_1st_row=lines[0].split[1]
1st_value_2nd_row=lines[1].split[0]
2nd_value_2nd_row=lines[1].split[1]
You can use it in
Below is the code I use to append data in a local text file into the
text_field on the web page.
How should I change the code below in order to append the second value
in the text file delimited by ; in another text_field on the web
page??
now.. the test.txt file has the below values:
test1