45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




Database testing process in detail

        

Reply
 
LinkBack Thread Tools Display Modes
Old 27-09-06, 01:18 AM   #1 (permalink)
Senior Member
 
au123's Avatar
 
Join Date: Sep 2006
Posts: 140
Thanks: 38
Thanked 32 Times in 12 Posts
Rep Power: 9 au123 is just really nice au123 is just really nice au123 is just really nice au123 is just really nice au123 is just really nice
Unhappy Database testing process in detail

Hi Friends

I want desperately ur help regarding database testing process in
detail. I mean I wanted to know how this database testing are
performed in real-time scenario. like

1. Database testing process in real-time
2. Level of database testing
3. what are the tools used for database testing and their detail etc...
4. anything which is necessary, u think

Plz try to post these information asap. That could be great help for
me.

thanks and regards

Ashok K Prasad

au123 is offline Offline   Reply With Quote
Old 27-09-06, 01:21 AM   #2 (permalink)
Senior Member
 
au123's Avatar
 
Join Date: Sep 2006
Posts: 140
Thanks: 38
Thanked 32 Times in 12 Posts
Rep Power: 9 au123 is just really nice au123 is just really nice au123 is just really nice au123 is just really nice au123 is just really nice
Re: Database testing process in detail

Hi Friends

I am looking for SQL server FAQs desperately.
I expect faster response especially from Spoorthi and Other Sr member of this group.

Plz try to post these information asap. That could be great help for
me.

thanks and regards

Ashok K Prasad
au123 is offline Offline   Reply With Quote
Old 27-09-06, 10:07 AM   #3 (permalink)
Super Moderator
 
sk_kireeti's Avatar
 
Join Date: Feb 2006
Posts: 2,379
Blog Entries: 4
Thanks: 118
Thanked 319 Times in 238 Posts
Rep Power: 60 sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute
Re: Database testing process in detail

Hi Ashok,

Don't expect reply from any ONE member of the forum to be very quick. Poeple will reply you only when they got some free time from their work.

Belive you can understand.

Thanks,
Krishna
sk_kireeti is offline Offline   Reply With Quote
Old 27-09-06, 10:52 AM   #4 (permalink)
Moderator
 
slinkanand's Avatar
 
Join Date: Aug 2006
Location: London, MI, UK
Age: 29
Posts: 262
Thanks: 0
Thanked 177 Times in 78 Posts
Rep Power: 25 slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future slinkanand has a brilliant future
Re: Database testing process in detail

Hi,

here are some faq's, if u know the answers for below questions, try to give reply for each one, if not will give the answers..

1. how to Increase, the size of Database in sql server 2000, in terms of GB size
2. can we have multiple recordset from stored procedure
3. Advance features of sqlserver2005 over sql server 2000?
4.Which is the best option used to move database from one server to another serve on same network?a) Import
5. What are the new enhancements in sqlserver 2005?
6. What is DESCRIBE command in SQL Server?What is its purpose?How to use it?
7. what is #table in sqlserver ?what is ##table in sqlserver?
8. how can we use rollback in sqlservre
9. What is the difference between Inner join and full outer join in terms of the Number of rows returne
10. what is fill factor, where it can be used?







Cheer's
Anand
__________________
Anand reddy

Some Birds aren't meant to be caged. Their feathers are too bright…

Last edited by slinkanand; 27-09-06 at 10:54 AM..
slinkanand is offline Offline   Reply With Quote
The Following 2 Users Say Thank You to slinkanand For This Useful Post:
AjayKumar.Kataram (28-01-09), au123 (24-10-06)
Old 27-09-06, 12:41 PM   #5 (permalink)
Senior Member
 
sunnyhup's Avatar
 
Join Date: Jul 2006
Age: 28
Posts: 336
Thanks: 0
Thanked 29 Times in 19 Posts
Rep Power: 9 sunnyhup has a spectacular aura about sunnyhup has a spectacular aura about sunnyhup has a spectacular aura about
Re: Database testing process in detail

Database tests are supported via ODBC using the following functions:
SQLOpen, SQLClose, SQLError, SQLRetrieve, SQLRetrieveToFile, SQLExecQuery, SQLGetSchema and SQLRequest.
You can carry out cursor type operations by incrementing arrays of returned datasets.
All SQL queries are supplied as a string. You can execute stored procedures for instance on SQL Server you could use “Exec MyStoredProcedure” and as long as that stored procedure is registered on the SQL Server database then it should execute however you cannot interact as much as you may like by supplying say in/out variables, etc but for most instances it will cover your database test requirements

A sample database test could look like this:

Sub main
' Declarations
'
Dim connection As Long
Dim destination(1 To 50, 1 To 125) As Variant
Dim retcode As long
Dim query as String
Dim outputStr as String
connection = SQLOpen("DSN=SblTest",outputStr,prompt:=3)
'
' Execute the query
query = "select * from customer"
retcode = SQLExecQuery(connection,query)

' retrieve the first 50 rows with the first 6 columns of each row into
' the array destination, omit row numbers and put column names in the
' first row of the array

retcode = SQLRetrieve(connection:=connection,destination:=destination, columnNames:=1,rowNumbers:=0,maxRows:=50, maxColumns:=6,fetchFirst:=0)

' Get the next 50 rows of from the result set
retcode = SQLRetrieve(connection:=connection,destination:=destination,columnNames:=1,rowNumbers:=0,maxRows:=50, maxColumns:=6)
' Close the connection
retcode = SQLClose(connection)
End Sub

sunnyhup is offline Offline   Reply With Quote
The Following User Says Thank You to sunnyhup For This Useful Post:
AjayKumar.Kataram (28-01-09)
Old 27-09-06, 12:51 PM   #6 (permalink)
Moderator
 
kiran2710's Avatar
 
Join Date: Jul 2006
Posts: 2,191
Thanks: 5
Thanked 505 Times in 324 Posts
Rep Power: 73 kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute kiran2710 has a reputation beyond repute
Re: Database testing process in detail

Hi,

Check dis , may b u will get an idea..
Attached Files
File Type: zip Relational database management systems org.zip (138.3 KB, 384 views)
__________________



Kiran







kiran2710 is offline Offline   Reply With Quote
The Following User Says Thank You to kiran2710 For This Useful Post:
AjayKumar.Kataram (28-01-09)
Old 27-09-06, 12:58 PM   #7 (permalink)
Senior Member
 
Spoorthi's Avatar
 
Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2
Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute Spoorthi has a reputation beyond repute
Re: Database testing process in detail

sorry for the late reply au123....just 2day i've cn ur post.
here r some sql-syntax...SQL Syntax.doc
Spoorthi is offline Offline   Reply With Quote
Old 27-09-06, 12:59 PM   #8 (permalink)
Senior Member
 
sunnyhup's Avatar
 
Join Date: Jul 2006
Age: 28
Posts: 336
Thanks: 0
Thanked 29 Times in 19 Posts
Rep Power: 9 sunnyhup has a spectacular aura about sunnyhup has a spectacular aura about sunnyhup has a spectacular aura about
Re: Database testing process in detail

Some more stuff...........

Most multi-user applications today use some form of persistence, and more often than not, that persistence is done using a relational database management system (RDBMS), such as Oracle, SQL Server, MySQL, or DB2. This article will discuss some quick and easy ways that a tester can start to perform 'grey box' or 'white box' testing against the databases in their application, which will allow them to more easily uncover problems with the database.

Functionality of the database is one of the most critical aspects of your application's quality; problems with the database could lead to data loss or security breaches, and may put your company at legal risk depending on the type of data you are storing.

Considering how important the database is to the success of applications, it is surprising how little attention is focused on database testing. In my experience, the biggest barrier is that most testers simply don't have time to directly test the database, so they end up focusing their testing efforts on testing via the GUI.

Referential Integrity:
As the name implies, relational databases store data as well as information about the relationships between various data. Data records will often contain references to other data records in other tables. Maintaining integrity of these relationships is critical; if relationships between data become broken, the function of your application could be compromised.

Database developers use a number of different tools to provide referential integrity including constraints (rules within the database which require references to be maintained), triggers (processes which are 'triggered' by changes to specific data) and application code (logic contained in the application which describes how to manipulate the data).

Depending on which methods your database developers have used, the database will be vulnerable to different sorts of referential integrity issues. Constraints are the most effective way to maintain integrity, since the RDBMS will prevent anyone from making changes that will break integrity. Maintaining referential integrity via application code is the most risky (but also most flexible) approach, since you are relying on the programmers' code to make every modification correctly.

As a tester, the first thing to do is find out how referential integrity is being maintained in your database. One of the best ways to do this is via a schema, which is a visual diagram of all the tables in the database. You can ask your database administrator (DBA) or the development team for a schema, or you can create one yourself via tools like Visio.

The tools used by the developers and/or DBA to create the database will also show you any constraints and triggers used in the database, and are usually pretty easy to set up.

Once you know how integrity is being maintained, you can then begin to analyze how it could be broken, and what the risks are in your application. For instance, if your application relies on the application code to maintain integrity, then you will want to make sure that every piece of code that modifies the data is thoroughly tested and doesn't introduce data integrity issues. If the application relies on triggers, then you will want to have tests which cause every trigger to be fired, and make sure that the data is being modified correctly by the triggers.

Security:

There are a number of ways that security of the database is maintained. The most common ways are via usernames and passwords, or via integration with a directory such as LDAP. Some of the key questions to consider are:
  • Does each user of the application have a separate password to the database, or is their a shared database account for all users of the application?
  • What is the permission-level of the account(s) used to access the database?
  • What interface is used to manage the accounts used to access the database? What other ways are there to access the database using the same login information as the application?
In practice, many applications require that each user has a different account at the application-level, but there is a single account shared by all users to access the database. As a tester, it's important to understand how the database is being accessed, with what level of permission, and to make sure that all stakeholders are aware of the risks being introduced via the chosen methods.

The best resources for testing the security of your database are the developers/DBAs, and the management tools provided by your RDBMS. Developers can tell you how the database is being accessed, and the RDBMS can provide information about the privileges associated with the accounts your application is using.

Last edited by sunnyhup; 27-09-06 at 01:02 PM..
sunnyhup is offline Offline   Reply With Quote
The Following User Says Thank You to sunnyhup For This Useful Post:
AjayKumar.Kataram (28-01-09)
Old 27-09-06, 01:35 PM   #9 (permalink)
Senior Member
 
sunnyhup's Avatar
 
Join Date: Jul 2006
Age: 28
Posts: 336
Thanks: 0
Thanked 29 Times in 19 Posts
Rep Power: 9 sunnyhup has a spectacular aura about sunnyhup has a spectacular aura about sunnyhup has a spectacular aura about
Re: Database testing process in detail

also check this link

http://www.ashgrovesoftware.com/index.htm
sunnyhup is offline Offline   Reply With Quote
The Following User Says Thank You to sunnyhup For This Useful Post:
AjayKumar.Kataram (07-06-09)
Old 28-09-06, 01:42 AM   #10 (permalink)
Junior Member
 
Join Date: Sep 2006
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 4 P.Gita is on a distinguished road
Re: Database testing process in detail

Hi Kireeti

I can understand ur msg that u conveyed me that people need free time to answer my question, but I have interview on 27/09/06 so I was in hurry, as I got this information on 3 days back and no time to wait. Ok

Anyway, I was not through, hope for the best for next time by ur grace.

thanks and sorry

Ashok

Quote:
Originally Posted by sk_kireeti View Post
Hi Ashok,

Don't expect reply from any ONE member of the forum to be very quick. Poeple will reply you only when they got some free time from their work.

Belive you can understand.

Thanks,
Krishna
P.Gita is offline Offline   Reply With Quote
Old 06-12-06, 05:05 PM   #11 (permalink)
Senior Member
 
simhadri44's Avatar
 
Join Date: Oct 2006
Age: 28
Posts: 199
Thanks: 77
Thanked 25 Times in 18 Posts
Rep Power: 7 simhadri44 is a jewel in the rough simhadri44 is a jewel in the rough simhadri44 is a jewel in the rough
Re: Database testing process in detail

this is really very bad.it doesnt mean that u can say what ever u want.if u can give help then help them else leave it what is the need to say that if we r free then we can give reply .of course what u said is right but dont say like that







Quote:
Originally Posted by sk_kireeti View Post
Hi Ashok,

Don't expect reply from any ONE member of the forum to be very quick. Poeple will reply you only when they got some free time from their work.

Belive you can understand.

Thanks,
Krishna
simhadri44 is offline Offline   Reply With Quote
Old 06-12-06, 05:08 PM   #12 (permalink)
Senior Member
 
simhadri44's Avatar
 
Join Date: Oct 2006
Age: 28
Posts: 199
Thanks: 77
Thanked 25 Times in 18 Posts
Rep Power: 7 simhadri44 is a jewel in the rough simhadri44 is a jewel in the rough simhadri44 is a jewel in the rough
Re: Database testing process in detail

gita dont get dissapointed by keerti words he dosent mean that but he a very useful member so take it light
simhadri44 is offline Offline   Reply With Quote
Old 28-01-09, 11:32 PM   #13 (permalink)
Senior Member
 
Join Date: Aug 2006
Location: Hyderabad,India
Age: 30
Posts: 8,044
Thanks: 2,105
Thanked 425 Times in 303 Posts
Rep Power: 124 AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute
Re: Database testing process in detail

thanks to all...
AjayKumar.Kataram is offline Offline   Reply With Quote
Old 03-02-09, 03:57 PM   #14 (permalink)
Senior Member
 
aforarun's Avatar
 
Join Date: Sep 2007
Location: Bangalore
Age: 27
Posts: 171
Thanks: 33
Thanked 130 Times in 40 Posts
Rep Power: 17 aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of
Re: Database testing process in detail

Thanks a lot to all... gr8 team work....I am very to see this effort from all......
__________________
Arunsankar
Value has a Value-Only if its Value is Valued
aforarun is offline Offline   Reply With Quote
Reply

Tags
database , process , testing


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What kinds of testing should be considered? moses.rozario Testing Tools & QA 7 29-07-09 11:49 AM
Some Loadrunner FAQs kiran2710 Testing Tools & QA 1 25-10-08 12:42 AM
The Greatest Software Testing Conference on Earth ootyboy Latest Tech News & Innovations 1 15-11-06 12:59 AM
My Exp' in Technical Discussion's slinkanand Testing Tools & QA 11 03-10-06 02:15 PM


All times are GMT +6.5. The time now is 02:19 AM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0