GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  DataBase Testing
Go To First  |  Previous Question  |  Next Question 
 DataBase Testing  |  Question 4 of 50    Print  
What is way of writing testcases for database testing?

  
Total Answers and Comments: 17 Last Update: September 07, 2008     Asked by: rbabu.vobilisetti 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Supriya Gainder
 
For writing test cases in Database first one should define the project name, then module,Bug number,objective,steps/action undertaken,expected result,actual result, then status, priority and severity.

Above answer was rated as good by the following members:
ramumcato, sultanqa, aparna04
  Sorting Options  
  Page 1 of 2   « First    1    2    >     Last »  
September 21, 2005 06:42:03   #1  
Supriya Gainder        

RE: What is way of writing testcases for database test...
For writing test cases in Database first one should define the project name then module Bug number objective steps/action undertaken expected result actual result then status priority and severity.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 2Overall Rating: -1    
September 21, 2005 06:45:20   #2  
Supriya Gainder        

RE: What is way of writing testcases for database test...
For writing test cases in Database first one should define the project name then module Bug number objective steps/action undertaken expected result actual result then status priority and severity.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 1Overall Rating: -N/A-    
December 30, 2005 16:46:38   #3  
Kumar_Atlanta        

RE: What is way of writing testcases for database test...

Also specify the functions stored procedures used table/view or control structures causing the error if you can identify.


 
Is this answer useful? Yes | No
January 12, 2006 19:51:36   #4  
Sriram Kammisetty        

RE: What is way of writing testcases for database test...

Supriya

You wrote an answer how to log bug but not for how to write test case for databas testing.

Thanks


 
Is this answer useful? Yes | No
January 12, 2006 19:54:30   #5  
Sriram Kammisetty        

RE: What is way of writing testcases for database test...
Normallyl how do we write the test cases for different applications as same as Database testing also (inputs and Outputs and expected results) .Am i right please correct me
 
Is this answer useful? Yes | No
January 14, 2006 09:07:01   #6  
Brahmesh        

RE: What is way of writing testcases for database test...

You have to do the following for writing the database testcases.

1. First of all you have to understand the functional requirement of the application throughly.

2. Then you have to find out the back end tables used joined used between the tables cursors used (if any) tiggers used(if any) stored procedures used (if any) input parmeter used and output parameters used for developing that requirement.

3. After knowing all these things you have to write the testcase with different input values for checking all the paths of SP.

One thing writing testcases for backend testing not like functinal testing. You have to use white box testing techniques.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 10, 2006 01:26:51   #7  
Niranjan Reddy        

RE: What is way of writing testcases for database test...
To write testcase for database its just like functional testing.1.Objective:Write the objective that you would like to test. eg: To check the shipment that i load thru xml is getting inserted for perticular customer.2.Write the method of input or action that you do. eg:Load an xml with all data which can be added to a customer.3.Expected :Input should be viewd in database. eg: The shipment should be loaded sucessfully for that customer also it should be seen in application.4.You can write ssuch type of testcases for any functionality like update delete etc.
 
Is this answer useful? Yes | No
July 04, 2006 02:45:49   #8  
anil        

RE: What is way of writing testcases for database test...

Hi all

At first we need to go through the documents provided. Need to know what tables stored procedures are mentioned in the doc. Then test the functionality of the application. Simultaneously start writing the DB testcases.. with the queries you have used at the backend while testing the tables and stored procedures you have used in order to get the desired results. Trigers that were fired. Based on the stored procedure we can know the functionality for a specific peice of the application. So that we can write queries related to that. From that we make DB testcases also.

Correct me if i am wrong....

Regards

-Anil.


 
Is this answer useful? Yes | No
September 05, 2006 08:24:18   #9  
Sunil Wudharu        

RE: What is way of writing testcases for database test...

Can anybody give an example of Database TestCase with a scenario?


 
Is this answer useful? Yes | No
January 31, 2007 14:48:36   #10  
pranav        

RE: What is way of writing testcases for database test...
In order to create database test cases you can have two different aproaches performing both of them is advisable if time permits.1) Testing each and every Trigger Cursor SP used in the application.2) Testing the application w.r.t functionality of the application like for example:Let's say there are two web sites type 'ABC' records should be displayed only in ABC websiteand type 'XYZ' records should be displayed only in XYZ website. You can insert a new type 'ABC' record and see if it is displayed only on ABC website and not on XYZ website.Both the websites are controlled by the same company it just wants type I customers to have acces to type I website and Type II customers have access to type II website. This is a completely imaginary example there can be any type of application or service functionality which can be broken down in to test cases in turn.Hope this from now on for anyone will be of good help.ThanksPranav CHyderabad.
 
Is this answer useful? Yes | No
  Page 1 of 2   « First    1    2    >     Last »  


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape