![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Senior Member Join Date: Sep 2006
Posts: 140
Thanks: 38
Thanked 32 Times in 12 Posts
Rep Power: 9 | 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 |
| | |
| | #2 (permalink) |
| Senior Member Join Date: Sep 2006
Posts: 140
Thanks: 38
Thanked 32 Times in 12 Posts
Rep Power: 9 | 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 |
| | |
| | #3 (permalink) |
| Super Moderator Join Date: Feb 2006
Posts: 2,379
Blog Entries: 4 Thanks: 118
Thanked 319 Times in 238 Posts
Rep Power: 60 | 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
__________________ Looking for trainees for a start up company |
| | |
| The Following 2 Users Say Thank You to slinkanand For This Useful Post: | AjayKumar.Kataram (28-01-09),
au123 (24-10-06)
|
| | #5 (permalink) |
| Senior Member Join Date: Jul 2006 Age: 28
Posts: 336
Thanks: 0
Thanked 29 Times in 19 Posts
Rep Power: 9 | 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 |
| | |
| The Following User Says Thank You to sunnyhup For This Useful Post: | AjayKumar.Kataram (28-01-09)
|
| | #6 (permalink) |
| Moderator Join Date: Jul 2006
Posts: 2,191
Thanks: 5
Thanked 505 Times in 324 Posts
Rep Power: 73 | Re: Database testing process in detail Hi, Check dis , may b u will get an idea..
__________________ Kiran |
| | |
| The Following User Says Thank You to kiran2710 For This Useful Post: | AjayKumar.Kataram (28-01-09)
|
| | #7 (permalink) |
| Senior Member Join Date: Mar 2006
Posts: 4,793
Blog Entries: 2 Thanks: 9
Thanked 699 Times in 534 Posts
Rep Power: 108 | 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 |
| | |
| | #8 (permalink) |
| Senior Member Join Date: Jul 2006 Age: 28
Posts: 336
Thanks: 0
Thanked 29 Times in 19 Posts
Rep Power: 9 | 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:
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.. |
| | |
| The Following User Says Thank You to sunnyhup For This Useful Post: | AjayKumar.Kataram (28-01-09)
|
| | #9 (permalink) |
| Senior Member Join Date: Jul 2006 Age: 28
Posts: 336
Thanks: 0
Thanked 29 Times in 19 Posts
Rep Power: 9 | Re: Database testing process in detail |
| | |
| The Following User Says Thank You to sunnyhup For This Useful Post: | AjayKumar.Kataram (07-06-09)
|
| | #10 (permalink) |
| Junior Member Join Date: Sep 2006
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 4 | 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 |
| | |
| | #11 (permalink) |
| Senior Member Join Date: Oct 2006 Age: 28
Posts: 199
Thanks: 77
Thanked 25 Times in 18 Posts
Rep Power: 7 | 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 |
| | |
| | #12 (permalink) |
| Senior Member Join Date: Oct 2006 Age: 28
Posts: 199
Thanks: 77
Thanked 25 Times in 18 Posts
Rep Power: 7 | 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 |
| | |
| | #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 | Re: Database testing process in detail thanks to all... |
| | |
| | #14 (permalink) |
| Senior Member Join Date: Sep 2007 Location: Bangalore Age: 27
Posts: 171
Thanks: 33
Thanked 130 Times in 40 Posts
Rep Power: 17 | 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 |
| | |
![]() |
| Tags |
| database , process , testing |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
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 |
| More Interview Questions Here... |