473,396 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to write QA test Script

I have MS-SQL procedure for reporting purpose. It accepts various parameters and gives the table variable after applying the different logic.

Now, I need to write the test script to verify the procedure.

Can anybody advice me what would be the approach that I can follow here.

Note:
I am thinking to write the script that may gives the drilled down list of records, but doesn't seems effective, the queries being used in procedure would be repeated in the test script as well.
Jun 29 '07 #1
3 5600
r035198x
13,262 8TB
I have MS-SQL procedure for reporting purpose. It accepts various parameters and gives the table variable after applying the different logic.

Now, I need to write the test script to verify the procedure.

Can anybody advice me what would be the approach that I can follow here.

Note:
I am thinking to write the script that may gives the drilled down list of records, but doesn't seems effective, the queries being used in procedure would be repeated in the test script as well.
I could be missing something here but I think this belongs in the MsSQL forum.
Jun 29 '07 #2
Atli
5,058 Expert 4TB
Hi, suresh Gautam, and welcome to TSDN!

I'm moving this thread to the SQL Server / MSSQL Forums, as this is not a MySQL related question and the experts over there are more likely to be able to give you answers on this topic.

Moderator
Jun 29 '07 #3
Suresh
Obviously you have a query ready in your procedure.
As this is a query / procedure for query the data will not be modified. Hope you too agree.
The query is selecting certain data meeting some requirements, say employees from HR department, hired between March 07 and November 09, born between Sep 81 and Oct 84, with no bonus.
Having understood this query insert data qualifying this conditions and known employee id.
Then run the procedure with actual parameters. The report should bring all the data along with the data which you inserted.
This is one of the simplest method to run a test script for both TSQL or PL/SQL.
If you need to verify the table variable value, you need to use a DBMS_output.putline in case of pl/ sql and it’s equivalent in TSQL (any message function) as table table functions (global temporary tables in Oracle) cease to exist beyond the life of procedure(user session) which is creating it.
Hope this may give you some idea.
Thanks
Rao
Oct 19 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Ben | last post by:
Hi all, Just wondering how to write (using document.write) to a table cell. I have table with 3 rows and 3 colums. I want to write from within the Javascript to say third column of a first row....
13
by: Stumped and Confused | last post by:
Hello, I really, really, need some help here - I've spent hours trying to find a solution. In a nutshell, I'm trying to have a user input a value in form's textfield. The value should then be...
1
by: von | last post by:
I am trying to write a single piece of data (that is generated from a Javascript) to a text file on my server via a Perl script. The Javascript is setup so that I can display the required data on...
12
by: Radek Maciaszek | last post by:
Hi It's very interesting problem. I couldn't even find any inforamtion about it on the google. I think that the best way of explain will be this simple example: <html> <body> <script...
4
by: Prowler | last post by:
In the application we are currently building, we need to write positioning code on-the-fly, based upon the screen offset of the element in the AS/400 application which drives the Web app. The 400,...
12
by: Sean | last post by:
Hi, I have the following script: ----------------------------------------------------------------------------------- <script type="text/javaScript"> <!-- document.write('<div...
3
by: jenngra | last post by:
I need something like this: <script>document.write('<a href=test.php?test=' + value + '>test</a>');</script> <a href="javascript:value=2;">change value</a> is it possible to change the...
8
by: johnsonlau | last post by:
When I use document.write to replace the comment of a frame, I found that the page was always showing as loading in Firefox (2.0.0.2). But it seems that it is OK in IE6. Could someone help me...
16
by: Hans Fredrik Nordhaug | last post by:
I'm trying to write to a file in the current directory - no remote files. The subject says it all - I can add that both the directory and the file is wordwritable. This happens on a (quite good)...
5
by: SuneR | last post by:
Hi, I am having problems figuring out how to make Firefox behave, and output the HTML I want it to output. The thing I want done is actually quite simple. I have a <labeltag, and inside it, I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.