[wtr-general] Re: How do i read a .txt file using watir script

2009-09-20 Thread karim rayani
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

[wtr-general] Re: How do i read a .txt file using watir script

2009-09-20 Thread crsna
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

[wtr-general] Re: Watir Logo Refresh Competition

2009-09-20 Thread Alister Scott
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