Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Test scenarios for database testing

This is a discussion on Test scenarios for database testing within the Test Cases forums, part of the Software Testing category; Can any one give me any two test scenarios for database testing of a web site and what are the possible testcases? Thanks and regards...

Go Back   Geeks Talk > Software Testing > Test Cases
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 06-05-2007
Junior Member
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
bvmanikyalarao is on a distinguished road
Test scenarios for database testing

Can any one give me any two test scenarios for database testing of a web site and what are the possible testcases?

Thanks and regards
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-20-2007
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 910
Thanks: 12
Thanked 108 Times in 76 Posts
jainbrijesh will become famous soon enoughjainbrijesh will become famous soon enough
Re: Test scenarios for database testing

Quote:
Originally Posted by bvmanikyalarao View Post
Can any one give me any two test scenarios for database testing of a web site and what are the possible testcases?

Thanks and regards
When we talk about database testing and database, It means we talk about database, and it's same for website and desktop application.
Test cases can't describe here until and unless you will not post the scenario and requirement.


How we can post the scenario without knowing your application use case documents and other related documents?
__________________
--
Brijesh Jain
Reply With Quote
  #3 (permalink)  
Old 12-05-2007
Junior Member
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
gettoknow is on a distinguished road
Re: Test scenarios for database testing

for eg when one does online shopping electronic invoice is provided with the ordernumber or the transaction number.
to really understand whether the data has been inserted or updated in the database one has to query the database with sql statements to validate the data.
if the response time for the page to get loaded takes too long than specified..then one of the reasons may be lack of indexing in the database....


again test scenarios for data base testing shd be based on specification /requiremnts.
Reply With Quote
  #4 (permalink)  
Old 12-06-2007
Expert Member
 
Join Date: Oct 2007
Location: Mumbai
Posts: 355
Thanks: 4
Thanked 58 Times in 47 Posts
bizzzzzare will become famous soon enough
Re: Test scenarios for database testing

Hi Rao,

Database testing of a Web-based application would basically deal with Integrity checks as well updation checks of the Database.

Like gettoknow pointed out - for instance we have an web-application dealing with Order booking, we might have different functionalities associated with the same like -
1) Registered User ID
2) Number of Items Ordered
3) The pricing of each Item
4) Total calcualtion etc.

For each of these operations different tables in the DB would be getting updated. DB testing would basically involve -

1) Taking a snapshot of the Database tables in terms of number of records
present before carrying out the transaction
2) Taking a snapshot after functionality is carried out using the UI. The
number of records count should have gone up
3) checking if Relational dependency of tables is properly getting executed.
In sense when Orders table is updated, the inventorty table of the item
should reflect a decrease in that specified item
4) checking if intermediate updations occur in the DB prior to completion of
the specified functionality. This should not happen

These are the generic test scenarios. Other scenrios would be based more on test specification / functional specifications....

Cheers...
__________________
Regards,

V.Umesh Krishnan
QA Consultant
Reply With Quote
Reply

  Geeks Talk > Software Testing > Test Cases

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
test scenarios sakshi_2801 Testing Issues 8 01-01-2009 06:51 AM
If test case required for testing always post test scenario. jainbrijesh Test Cases 15 12-30-2008 10:55 AM
Database Testing rose Testing Issues 13 11-22-2007 06:14 AM
Test Scenarios Navita Testing Templates 7 08-17-2007 10:26 AM
database testing prasad79 Testing Issues 2 03-26-2007 06:06 AM


All times are GMT -4. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved