Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on SQL Queries for Database Testing within the Test Cases forums, part of the Software Testing category; Do we have to write SQL queries in the test cases related to Database testing if yes give me an example and explain if no explain me the process of ...
|
|||||||
|
|||
|
SQL Queries for Database Testing
Do we have to write SQL queries in the test cases related to Database testing if yes give me an example and explain if no explain me the process of Database testing
|
| Sponsored Links |
|
|||
|
Re: SQL Queries for Database Testing
We need to write the SQL queries in the test case document.
Suppose you have to test the Maturity date of a fixed deposit table. Then the query would be select dep_type, depstr_Name, deps_matu_date from deps_table |
|
|||
|
Re: SQL Queries for Database Testing
The main concept of Database testing is to validate the records that are stored in the backend, is as per the requirements. So in order to validate the records, we have to pull the records from the database and validate it against the reports or the flat files generated. In this case, the records are retrieved by the Data Manipulation language in SQL. Hence, definitely we need to write SQL queries in order to perform database validation.
For example, you are entering the values in the front-end of the application and saves it. Then it will be automatically stored in the backend. You will also be generating reports for the data entered in the front end. There will set of guidelines for example, in an Insurance application you need to pull the report of the Policy information which were created after 2007. The report pulled is validated against the database by retrieving the records by the use of SQL queries. All the Policies created after 2007 will be pulled by the use of Select query and will be validated against the report generated. |
| The Following User Says Thank You to sridharrganesan For This Useful Post: | ||
|
|||
|
Re: SQL Queries for Database Testing
Hi please help me the importance of data base testing and stored procedures?as a test engineer upto what level we should know the db concepts?
|
|
|||
|
Re: SQL Queries for Database Testing
The main concept of Database testing is to validate the records that are stored in the backend, is as per the requirements. So in order to validate the records, we have to pull the records from the database and validate it against the reports or the flat files generated.
As a Test engineer to validate the Database you should have very strong knowledge of using the Select statement. As most of the times you will be retriving the records from the data base to validate against the Report or the flat file generated, you should know how to use Joins, Union and other operators along with the Select statement. Since to validate the reports or flat file the data should be pulled from two or more tables, the usage of the join or union along with Select statement is more important. Ganesan |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| database testing | sakshi_2801 | Testing Issues | 6 | 07-21-2009 08:01 AM |
| Database Testing | rose | Testing Issues | 13 | 11-22-2007 06:14 AM |
| Can I name report testing as database testing | Geek_Guest | Testing Issues | 3 | 07-11-2007 07:55 AM |
| database testing | prasad79 | Testing Issues | 2 | 03-26-2007 06:06 AM |