This project demonstrates how to integrate MySQL database testing with Selenium WebDriver automation using Java and TestNG. It covers inserting, updating, reading, and deleting records in a database, then using some of that data to perform actions on a real web form.
Technologies Used
Java
TestNG
Selenium WebDriver
MySQL
JDBC (Java Database Connectivity)
Project Workflow
Insert Record into the MySQL database (INSERT SQL)
Update Record in the MySQL database (UPDATE SQL)
Read Record from MySQL and use data to:
Generate an email
Fill out the registration form on smartbuy-me.com
Delete Record from the MySQL database (DELETE SQL)
Project Structure
src/ └── DataBaseTesting/ └── DataBaseTesting/ └── AppTest.java # Main test class