Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the status have in QC(Test Management Tool). and how you report?

1956


tell me 3 defects in FRS document, while doing FRS review which u have found in the last 3 years ? could u plz answer brahma412@yahoo.co.in

2481


What is pesticide paradox?

1138


How to validate a Testcase.and is the testing Methodology.

2352


If automating - what is your process for determining what to automate and in what order

2049


What is Windows Test Technologies? Where i will get all information of it.

3988


Which is the best testing model?

1049


What is the first test in software testing process?

1230


Hello everybody, How many people do you think one sprint team can have in average?

1738


Hi Could someone please provide Siebel Testing Interview questions for 5 years exp.

4925


How would u test and automate an Antivirus application ?

1979


Where we have to use perl scripting in Testing approach and its importance

2173


A defect which could have been removed during the initial stage is removed in a later stage. How does this affect cost?

1502


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

6921


What are different types of verifications?

1320