can we do database testing in manual testing? then how we
write the test case?
Answers were Sorted based on User's Feedback
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 |
Answer / manikandan ganesh
yes we can do database testing in manual testing..
| Is This Answer Correct ? | 2 Yes | 0 No |
Hi Friends, I've to submit a presentation in my office about "Different bug tracking tools" ? Where can i find (or any site) the templates for the bug tracking tools.
What is Adhoc testing?
What is Defect Density? How it can be calculated?
What is the difference between Quality Plan and Test Plan Anybody can give answer..Thanks in advance...
How do we estimate the number of test cases?
Where are more than 50% of the defects introduced
1. what are the different types of test cases techniques ?
1.For a single module how many builds are possible 2.what will be the max or min time to finish up an single module
what is CMM Explain the difference between adhoc and smoke testing explain Bug life cycle Explian STLC What is severity and priority and example of highseverity and low priority
INTERVIEW question:- Explain the process in your company?
How to explain the project? (banking)
What is release candidate