like said
begin
file = File.new("readfile.txt", "r")
while (line = file.gets)
puts "#{counter}: #{line}"
counter = counter + 1
end
file.close
rescue => err
puts "Exception: #{err}"
err
end
the above script reads your readfile.txt line by line,
the
were you able to find a solution?
On Sep 14, 6:36 am, msazeez28july wrote:
> Hi,
> We have watir scripts which requires url, username, password and
> path (location of the datatables).
> These parameters are changing depends upon the server where
> application is deployed.
> I
Yes, please feel free to send one through. Thanks, Alister
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, ple