Thanks for the ideas. The data being submitted is not going to be accessible on the front end for quite a while in the dev cycle so I need to test the backend DB.
I am trying to use the mysql gem to connect now. It is being annoying and I think I need to get the db reconfigured to allow remote access. Has anyone used SSH tunneling for this kind of thing? On Friday, November 9, 2012 6:31:13 AM UTC-8, Super Kevy wrote: > > Couldn't you just navigate to an edit or other view where this data gets > displayed. > > > > On Thursday, November 8, 2012 12:37:22 AM UTC-6, Aaron Schwartz 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]
