Hi Venky!

If you were looking at my example Test::Unit harness:


DataVerification.rb connects to SQL and Oracle, retrieves value using
select statements and verifies then against an expected value.  You
could also use this to retrieve test data once it's populated in your

If this doesn't do what you need it to, you may want to look into
using the ActiveRecord class.  Note that ActiveRecord is it's own Ruby
project, not part or Watir.  I'm moving that way myself, as
ActiveRecord seems more solid than the DBI class.

Hope this helps!


On Nov 24, 2:44 am, venkat <greet.ven...@gmail.com> wrote:
> Hi,
> I am venkat, started using watir for the last 3 to 4 weeks. I understand
> basic watir scripting since opening of the browser to navigating pages by
> identifying the elements etc. and I feel WATiR is an excellent tool. Also I
> have gone through the datadriven framework with excel data examples.
> I have searched in google for examples, blogs, code snippets for a framework
> that built using watir with sql server or watir with oracle but failed to
> get it. I can see the test code to establish connections from watir to sql
> dbi or oracle but further details are not much.
> At this point I request you to please help me out in finding a good
> framework that uses watir with sql or oracle database that can be re-usable
> with modifications kind of.
> I appreciate if any one helps.
> Thanks and hope to see your mail.
> Regards,
> Venky
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, please read the following guidelines: 
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to