[Wtr-general] Newbie - Ruby dev IDE question

2006-07-28 Thread Pauli's List Subscriptions
Another newbie question - if you were developing a
webapp on Windows XP, for eventual production
installation on Linux hosting, and wanted a Ruby /
Rails / Watir development IDE, would you go with
Komodo, RadRails or another product.  Why?

Thanks a bunch for your helpful responses.

Pauli
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


[Wtr-general] Newbie - please point me at an appropriate demo

2006-07-21 Thread Pauli's List Subscriptions
Hello,

I've just downloaded Ruby and Watir.  I've looked at
WET's webpage.  

I have a table of parameters, which I'd like to use
sequentially as input to the same test, logging the
results as testing proceeds.   WET can support this
requirement, on the input side, from spreadsheets with
it's 'datatable' feature.  But my parameters are in a
MySql database table, and I'd like to update the
results there.  Since Ruby provides DBI access to
databases, I figure I would be better served if I just
coded it myself in Ruby.

However, I'm new to Ruby.  I've found Ruby, DBI and
WATIR documentation.  What I'd dearly like to see is
some sample code that executes a query from a table,
iterates the results, processing a WATIR test for each
row, and logs the results at each test completion.

Is there such a sample anyone can point me at?  Or,
barring that - any pointers on how best to approach
this?

In any case, once I get it working, I think it would
be a good sample to add to the Wiki - I'll try and add
it there - once I'm done.

Much thanks! 

Pauli
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Newbie - please point me at an appropriate demo

2006-07-21 Thread Pauli's List Subscriptions
Jason,

Thanks much - that looks to be helpful.  I'm more
interested in how to iterate the WATIR test though.  

So far I haven't seen how to - in language that come
from my programming background, but may not be exactly
Ruby/WATIR appropriate - wrap a test inside a function
that I can call with parameters, that will return some
results set.

Once I have that, I can just plug it into the code
from the page you linked for me, and I'm away!

Pauli

--- [EMAIL PROTECTED] wrote:

 Just found this searching ruby mysql in Google... 
 Looks like it is pretty easy to read...  Good Luck!
 
 http://www.rubywizard.net/ruby-mysql.html
 
 - Original Message -
 From: Pauli's List Subscriptions
  However, I'm new to Ruby.  I've found Ruby, DBI
 and
  WATIR documentation.  What I'd dearly like to see
 is
  some sample code that executes a query from a
 table,
  iterates the results, processing a WATIR test for
 each
  row, and logs the results at each test completion.
  

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general