Hi, I normally use the mysql gem and create a method that will do the database connect and querying.
Joe On Thu, Nov 8, 2012 at 1:37 AM, Aaron Schwartz <[email protected]> wrote: > Hi all, > > I couldn't find anything on this group already posted so please direct me to > any resources. I am relatively new to testing and sort of learning watir as > I test a web application on the fly. One of current tests is to input some > user data on a web form and then click a submit button. Watir-webdriver is > performing nicely here. Then I want to test to ensure the data has been > added to our mysql db. Is there a standard or best practice for doing this > type of testing? Do you just write another ruby script that takes in the > record, connects to the DB, and checks it has been added What tools do you > use for incorporating mysql connections into ruby testing with > watir-webdriver? > > Thanks in advance > > Aaron > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
