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

Why do we need different environments and different data? What is the other name for environment? Justify your explanation ? real time experts pls xplain?

2897


Please Provide me the link to download Testing Category questions and answers If some body has downloaded it pleae send it to me Pavan : Email pavan_cd@yahoo.com Quetion2 : Can any body Explain me about Testing thumb rules

2164


What is bidirectional traceability ??? and how it is implemented

2196


Can any1 tell me suppose u r doing manual testing on unix platform with Shell Script, then how it is done? How u r implementing it & what is the use of Shell scripting on Manual Testing?

3993


plz send the test scenarios and test cases for "user name should contain 4 to 8 chars and they should have only vowels"

2245


what are the possible test cases for online jobs search portal..if its a job seeker module and any 1 if u had worked on this proj pls share the bugs with sev and priority pls frends i need replies for these queries ..thanks in advance

7643


What is alpha testing?

1205


what are the 3 test tool categories and describe what each can do.

2488


How will you prepare traceability matrix if there is no Business Doc and Functional Doc?

2342


Architectural structure of the insurance project?

1364


Can any one say me how to do Performance testing step by step plz for a desktop application(offline application).all the data is stored in internal server itself can any plz help me. ts quite urgent friends.

2112


what is the function generator?

2343


through which phases a software ttester need to pass like as a junnior test engineer,team lead,project lead,etc.? which is the final stage of your promotion and how will u achieve?

2297


please send me database stored procedure checklist.

2958


Hello all, Can someone tell me what kind of questions i can expect from hiring manager along with two team members on final face to face interview for manual testing position.. I am switching from BA to QA as its better on benefits etc.. Thanks in advance

2140