can we do database testing in manual testing? then how we
write the test case?

Answers were Sorted based on User's Feedback



can we do database testing in manual testing? then how we write the test case?..

Answer / lakshmanaraj bg

Yes of course,

Many beginner and intermediate database testing examples in any programming language suggest that it is perfectly easy to test your application's logic with simple tests. For database-centric applications this is far away from the reality. Start using Wordpress, TYPO3 or Symfony with Doctrine or Propel, for example, and you will easily experience considerable problems with PHPUnit: just because the database is so tightly coupled to these libraries.

You probably know this scenario from your daily work and projects, where you want to put your fresh or experienced PHPUnit skills to work and get stuck by one of the following problems:

The method you want to test executes a rather large JOIN operation and uses the data to calculate some important results.

Your business logic performs a mix of SELECT, INSERT, UPDATE and DELETE statements.

You need to setup test data in (possibly much) more than two tables to get reasonable initial data for the methods you want to test.

The DbUnit extension considerably simplifies the setup of a database for testing purposes and allows to verify the contents of a database after performing a series of operations.

Sample test case for database testing:

The test case for the above requirement is mentioned below:

Test_Case_Id:1

Test_Case_Name:Check the unique identity of Student.
Description:Test case to check the unique identity of Student.

Prerequisite:

1.Database should be present 2.Student records should be present in student table.
Input Data:1.Open your database(SQl,oracle or any which you are using)

2.Open its command prompt editor.

3.Select the proper database

4.Enter the query as:"Select * from Student_Details"

5.Run the query.

Expected Result: The all unique student records will be displayed.

Validation:Student is should be unique.

Is This Answer Correct ?    6 Yes 1 No

can we do database testing in manual testing? then how we write the test case?..

Answer / manikandan ganesh

yes we can do database testing in manual testing..

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

Use of Requirements Traceability?

3 Answers  


what is the difference between test plan and test strategy. can anybody give me a template for test strategy

1 Answers  


write testcase for print option using mswod

1 Answers   Bally Technologies,


Please is there any one working with ITR.COM? Having interview with them. Any tips will help.

0 Answers   Shulam,


what is testing methodology

3 Answers   Wipro,


hi all, I am doing Testing course,can anyone help me what is domain & module?

5 Answers  


Difference btween the QA and QC?

6 Answers  


compatibility testing?

2 Answers   NDS,


could any body plz let me know which is best training institute for telecome testing in hyderabad?

0 Answers  


An employee has £4000 of salary tax free. The next £1500 is taxed at 10% The next £28000 is taxed at 22% Any further amount is taxed at 40% Which of these groups of numbers would fall into the same equivalence class? a) £4800; £14000; £28000 b) £5200; £5500; £28000 c) £28001; £32000; £35000 d) £5800; £28000; £32000 Can you please explain in brief, how to do equivalance class?

4 Answers   ISTQB, Tech Mahindra,


Define Deployment and User Acceptance.

2 Answers   Cisco,


what is Middleware? can anybody explain me?

2 Answers   AZTEC,


Categories