IT Community - Software Programming, Web Development and Technical Support

Database checkpoint, while,testing,webapplication

This is a discussion on Database checkpoint, while,testing,webapplication within the Testing Tools forums, part of the Software Quality Assurance category; How to create database checkpoint while testing any web application...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Quality Assurance > Testing Tools

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 08-17-2007, 02:25 AM
itbarota itbarota is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 542
itbarota is on a distinguished road
Question Database checkpoint, while,testing,webapplication

How to create database checkpoint while testing any web application
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-17-2007, 02:35 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 347
Venkat is on a distinguished road
Thumbs up Re: Database checkpoint, while,testing,webapplication

hey ITB...

Every application includes a database. The database is used to store the information. When an application is being tested, the database of that application should also be tested in order to assure that the values are entered into the database correctly.

Database Checkpoints in WinRunner

Every application includes a database. The database is used to store the information. When an application is being tested, the database of that application should also be tested in order to assure that the values are entered into the database correctly. In Winrunner, for checking databases, we have a feature called “database checkpoints”. About Checking DatabasesDatabase checkpoints can be used in the test scripts to check databases in your application and the defects can be traced. You define a query on the database and then create a database checkpoint that checks the properties of the results of the query. When you check these properties, you can check the contents of the results or how many rows or columns the results contains. Types of Database Checks:

Two types of database checks can be done in Winrunner: 1. Default database check. 2. Custom database check. The above options are present in the menu bar Create-> Database checkpoint. In the default check, the query has to be manually defined. In this type of check, the properties you want to test cannot be specified. The winrunner captures the data defined by the query and stores it in the “exp” folder. A .sql query file is created and the database checklist is stored in the “chklist” folder. A database checkpoint is inserted in the test script as db_check statement. In custom check, you can create a database checkpoint where you specify which properties to check on a result set. Different operations can be done on a database by the custom check like:1. Check the contents of the part or the entire result set. 2. Edit the expected results of the contents of the result set 3. Count the rows in the result set 4. Count the columns in the result set. When you create the custom check, a check database dialog box opens. The dialog box contains two panes – Objects pane and Properties pane. The Objects pane contains “Database check” and the name of the *.sql query file that will be included in the database checkpoint. The Properties pane lists the different types of checks that can be performed on the result set. Database Checkpoint Wizard:

The database checkpoint wizard opens whenever a database checkpoint is created. The database checkpoint wizard enables you to

1. To select the connection required to connect to the database.
2. To specify the sql statement.
3. To specify the new query file name.

Two modes of database connections can be used. One is through the ODBC (Microsoft Query) mode and the other is Data junction mode. You can switch from one mode to the other as per your requirements.

We can specify a new query or an existing query can be copied into the query file. The number of rows to be verified can be limited in the main wizard itself. If you are creating a default check, a db_check statement is inserted into the test script. If you are creating a custom check, the check dialog box appears. Thus a database checkpoint can be created in the Winrunner and the defects regarding the database can be traced out.


If you have WinRunner Installation, just go through the Wizard, it's very self explanatory.
__________________
Venkat
knowledge is Power
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ImageMagick MagickNet C# WebApplication Anandavinayagam C# Programming 92 09-06-2009 10:05 AM
In Qtp my test fails due to checkpoint failing, Can I validate a checkpoint without m sundarraja Testing Tools 2 01-14-2008 02:08 AM
Database Testing Shanthi Software Testing 2 07-14-2007 12:14 AM
database testing nssukumar Software Testing 1 03-22-2007 06:06 AM
Database testing vadivelanvaidyanathan Software Testing 0 03-13-2007 05:21 AM


All times are GMT -7. The time now is 06:47 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0