I use yaml (http://yaml4r.sourceforge.net/). Try it, you will love it.

Zeljko

2006/1/11, Torres, Ben (HQP) <[EMAIL PROTECTED]>:
> Hello,
>
> Can Watir read from an external file and plug that data into a script?
> If so, how?
>
> Ex:  I have var1 = city, var2 = state, var3 = zip.  Can I have a file
> containing just different values for these variables and have the script
> take in these values:
>
> "San Francisco","California","94404"
> "Dallas","Texas","32345"
> "Miami","Florida","22342"
>
> So I will have my script run 3 times and each run will grab 1 line.
>
> Thanks in advance,
> Ben
>
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to