Here's an excellent page on scripting Excel through Ruby:
http://wiki.rubygarden.org/Ruby/page/show/ScriptingExcel
You could have a column with your constants and the next column over be the
values and iterate through the rows assigning those to a constant Hash or
something of the sort. There are a variety of ways to set up your constants,
you really shouldn't be losing any flexibility, it might just be a matter of
reorganizing.

-Charley

On 12/5/06, Fletch <[EMAIL PROTECTED]> wrote:

Hello Again,

I have currently got a WATIR Script running, and use a text file to hold
all the constants.
However I have had a request to change this text file to a Spreadsheet -
does it make sense to use a spreadsheet to hold all the constants? From what
I have seen, I would have to call the cell directly, rather than being able
to give the field a proper and relevant name.

Thanks for any advice you can give me,

PMF.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5619&messageID=15669#15669
_______________________________________________
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