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

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

2152


Which model is following in your company for developing software?

1119


What is a testbed in manual testing?

1435


What is a test scenario?

1145


can anyone tell me the questions that can be posed in an interview for a 5 year experienced person in manual testing

1996


what are questions asked in TCS for database tester (sqlserver)?ay idea

2891


Scenario A year ago we developed a standards compliant website for a client. Their site is very popular resulting in the client wanting to be able to track how it is being used by their users. The first part of this project is to create a Login function so that users can be identified on the website. The data supplied by users would have to be handled securely. You have been allocated this project to work on. You will be responsible for the task from start to finish and will be expected to give feedback to your manager. User expectations  The client wants their users to be able to login using a page that fits in with the website design.  Tom wants to access the website but doesn’t want his login information to be available to anyone else.  Paul doesn’t want to login to the website because he’s not a frequent user. Task Please provide some feedback on how you would do the following:-  Being the only Test Engineer on this task, what would your approach be for this requirement?  Identify the key areas for testing this page.  What tools if any, would you use to perform the testing, bearing in mind that the testing will be done without using an ‘automated test tool’.  Provide a sample test case that could be used for testing this page, for example as a word or Excel document.

1899


What is verification in software testing?

1119


What are the different ways of doing black box testing?

1023


Explain the strategy for testing a Java application?

2091


Explain the advantages of automation over manual testing?

1095


What is an exit criteria?

1087


Explain Single View Testing ?

1370


Why documentation testing is important?

2066


What kind of input do we need from the end user to begin proper testing?

1421