db_connect(query1 DRIVER {drivername};SERVER server_name;UID uidname;
PWD password;DBQ database_name );
db_excecute_query (write the required query that is to execute); Specify the appropriate condition
Step 3 : Disconnect the database connection by using :
db_disconnect(query);
Using Output database checkpoints, SQL manual queries options must be selected. Here, the select query can be written.
CREATE, ALTER, DROP, TRUNCATE, COMMENT, and RENAME
SELECT, INSERT, UPDATE, DELETE, MERGE, CALL, EXPLAIN PLAN, and LOCK TABLE
.GRANT
Statement and REVOKE
Statement.COMMIT, SAVEPOINT, ROLLBACK, and SET TRANSACTION
.db_connect(“query1”,DRIVER={driver name};SERVER=server_name;
UID=uidname;PWD=password;DBQ=database_name “);
db_excecute_query(“query1″,”write query u want to execute”);
-Condition to be mentioned-
db_disconnect(“query”);
SELECT MAX(COLUMN_NAME) FROM TABLE_NAME
WHERE COLUMN_NAME <
(SELECT MAX(COLUMN_NAME) FROM TABLE_NAME);
SELECT Max(Marks) from Students
WHERE Marks< (SELECT Max(Marks) from students);
BEGIN TRANSACTION TRANSACTION#
END TRANSACTION TRANSACTION#
ROLLBACK TRANSACTION#
SELECT
queries to run on the tables where the transaction took place and validate the data.GUI Testing | Database Testing |
---|---|
User Interface Testing is also known as Front-end Testing. | Backend Testing or also known as data testing. |
Tests all testable items that are visible to the user in the application such as forms, buttons, menus etc. | Tests all testable items that are not visible to the users but are essential for the proper functioning of the system. |
Tester need not know SQL. | Tester needs to know the database technologies like SQL to run the queries and validate the data. |
Majorly deals with the look and feel of the software application. | Mostly deals with the data integrity, validation of schema of the structures where the data resides, validating data duplication, referential integrity and everything that deals with data. |
Some of the tools that we use for GUI testing are: Katalon Studio, RAPISE by Inflectra, TestComplete, Abbot Java GUI Test Framework, AutoIt UI testing | Some of the tools are Database Rider, Db stress, DbUnit, DB Test Driven etc |
DDL
, DML
, DCL
statements can also be used.Create
, Insert
, Select
, Update
, etc.