Testing - Explain how to test a SQL Query in Winrunner

Explain how to test a SQL Query in Winrunner

The following is the exact process:

1. Connect to the database by using –
db_connect( query1 DRIVER {drivername};SERVER server_name;UID uidname;PWD password;DBQ database_name );

2. Execute the query of the database by using -
db_excecute_query( write the required query that is to execute);Specify the appropriate condition

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.
Testing - Explain how to test database Procedures and Triggers
Testing - Explain how to test database Procedures and Triggers - The input parameters and output parameters must be known. EXEC statement can be used to run the procedure
Testing - What steps does a tester take in testing Stored Procedures?
Testing - What steps does a tester take in testing Stored Procedures? - The tester should call the stored procedure in the backend using the EXEC command.
Database Testing Interview Questions and Answers - Part 2
Database Testing Interview Questions - What is Database Testing?, How to test data loading in Database Testing?, What is trigger? How to check trigger is fired or not?, What is data driven testing?.....
Post your comment