An open API service indexing awesome lists of open source software.

https://github.com/mdtanvirhossaintusher/auto_database_tester

A database testing project which will test and validate CRUD database operations.
https://github.com/mdtanvirhossaintusher/auto_database_tester

java jdbc-database rest-assured selenium-java

Last synced: about 1 month ago
JSON representation

A database testing project which will test and validate CRUD database operations.

Awesome Lists containing this project

README

          

# Database testing project

## Problem Statement
The goal of this project is to run a Test to this [website](https://www.euronews.com/). After successfully running the test case, I will fetch some data from the previous test and add those as a
record in the database. After this, I did some certain operatino such as add, update, delete and make validation of those operations.

## To build and run the project

1. Clone the repository by this command-
`git clone https://github.com/MdTanvirHossainTusher/DB.git`

2. Build the `pom.xml` file. If any dependencies requires updated version, then go to [this website](https://mvnrepository.com/). Search for those particular dependencies and update the dependencies
version no.

3. Add you Gmail credentials on `ClientCredentials.java` file.

4. Add database name and authenticators on `ConfigData.json` which is located here - `src/test/resources/testdata/ConfigData.json`.

5. Run the `WebApiTest.java` testcase first.

6. Check whether a record with the information of `WebApiTest.java` testcase added or not. If testcase runs succesfully, a record should be added.

7. After successfully running `WebApiTest.java`, now run `DBTest.java` file.

8. `DBTest.java` will add 10 records from the existing database records which contains repeating digits in it's id. Then update those record's information with the current testcase's data. At the end, it
will delete the new added data.

9. Check that only record from point-6 remains as a new entry in the database.