database

How to write data to a database

Attached are two files used as an example of how to write data to a MySQL database using HTML/PHP.

 

Place these two files inside the document root and call the results.html file. Fill out the form data and hit submit. It will call the insert.php file which will make a database call to the Results database and make the insert to the 'results" table. Simple, and avoids Drupals 30-120 database calls just to load its pages.

Tags: 

Data driven testing with the IDE

This article demonstrates one way to achieve real-time, complex data-driven testing with the Selenium IDE. Yeah, you heard me; real-time, complex data-driven testing with the Selenium IDE. When I say real-time, I mean queried data, not data stored in an XML or CSV file (or any other static data method that has to be refreshed to be considered real-time and valid).

For this scenario, let's make a few assumptions that I believe are actually typical to most companies:

Tags: