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.




What is the difference between Test cases and Test scenarios?

        

Reply
 
LinkBack Thread Tools Display Modes
Old 29-08-08, 11:00 AM   #1 (permalink)
Member
 
suresh_edk's Avatar
 
Join Date: Apr 2008
Posts: 85
Thanks: 42
Thanked 15 Times in 11 Posts
Rep Power: 3 suresh_edk has a spectacular aura about suresh_edk has a spectacular aura about
What is the difference between Test cases and Test scenarios?

Hi,

Please explain me the below given:

1. What is the difference between Test cases and Test scenarios?
2. What are test deliverables and when it is needed?
3. Is Performance, Security and Usability Testing are NON-FUNCTIONAL TESTING?

Thanks and Regards,
Suresh Kumar K.

suresh_edk is offline Offline   Reply With Quote
The Following 2 Users Say Thank You to suresh_edk For This Useful Post:
ajit001 (27-03-09), t.sivaganesh (20-07-09)
Old 29-08-08, 03:52 PM   #2 (permalink)
Member
 
Join Date: Jul 2008
Age: 32
Posts: 54
Thanks: 0
Thanked 9 Times in 7 Posts
Rep Power: 3 hightech will become famous soon enough hightech will become famous soon enough
Re: What is the difference between Test cases and Test scenarios?

Test Case: Test case consist of set of input
values,execution precondition,excepted Results and executed
post condition,developed to cover certain test Condition

Test Scenario:Test scenario is nothing but test procedure.
Now another quest raises what is Test procedure?

the test procedure specifies sequences of action for the
executin of a test.

if u see a test case u will find a Test Scenario and this
test Scenario would hv broken down in to one or more test
procedures.

ex: in login page
Test Scenario -> Test for passwordField
Test Procedur_> shd more tha 7
shd not be same a login name
if <7 letter pop up msg
shd be combination no's and char

hope now u able image something.
hightech is offline Offline   Reply With Quote
The Following 2 Users Say Thank You to hightech For This Useful Post:
ajit001 (27-03-09), suresh_edk (01-09-08)
Old 29-08-08, 09:47 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2008
Posts: 147
Thanks: 15
Thanked 71 Times in 46 Posts
Rep Power: 10 Sean2 is a splendid one to behold Sean2 is a splendid one to behold Sean2 is a splendid one to behold Sean2 is a splendid one to behold Sean2 is a splendid one to behold Sean2 is a splendid one to behold Sean2 is a splendid one to behold
Smile Re: What is the difference between Test cases and Test scenarios?

Test Scenario : A set of test cases that ensure that the business process flows are tested from end to end. They may be independent tests or a series of tests that follow each other, each dependent on the output of the previous one.

Test Case : Is a document which describes the input, Action/Event and expected response to determine whether the particular functionality of the application is working fine.


Test Deliverables
There are different test deliverables at every phase of the SDLC. These deliverables are provided based on the requirement once before the start of the test phase and there are other deliverables that are produced towards the end/after completion of each test phase. Also there are several test metrics that are collected at each phase of testing. Below are the details of the various test deliverables corresponding to each test phase along with their test metrics.

The standard deliverables provided as part of testing are:
  • Test Trace-ability Matrix
  • Test Plan
  • Testing Strategy
  • Test Cases (for functional testing)
  • Test Scenarios (for non-functional testing)
  • Test Scripts
  • Test Data
  • Test Results
  • Test Summary Report
  • Release Notes
  • Tested Build



Project Specific Test Deliverables

There is a hierarchy to the set of test deliverables to be produced for each project. The first test deliverable to be produced is the Master Test Plan, which defines the strategy for the project as a whole, covering each stage of testing. Most of the other deliverables relate to System Testing and UAT. Lists that provide an overview of the tests to be developed (the System Test Condition Lists for System Testing and the Business Scenario Inventory for UA Testing) are produced from requirements documents (e.g. URDs) and from the inputs already described in section 3.2 of this document.
There is no requirement for development testing activities to be documented, but checklists will be developed and maintained to provide developers with an aide memoire of types of tests to consider including as part of their development testing.
Deliverable DescriptionTest Specifications

Also produced for System Testing and UAT. These specifications contain or refer to the final version of the relevant list of tests (the System Test Condition List or the Business Scenario Inventory), as well as specifying any refinements to the test approach and detailed information about test data.
Test Procedures (test scripts)

Developed to implement one or more System Test Conditions/Business Scenarios.
Test Run Log

During test execution, a Test Run Log will be maintained (recording the outcome of tests) and observations will be raised whenever tests fail. Finally at the end of the stage’s test execution a Test Summary Report will be produced to provide a summary record the testing activities. Tests will also be selected for inclusion in LUT and in the Regression Test Library for future use.
Master Test Plan

A project specific deliverable which describes the overall framework for the project’s testing activities. It refines the Stages of Testing document to make it applicable to the project and identifies the project’s stages of testing, with scope, objectives, deliverables, responsibilities, entry criteria, exit criteria etc. for each stage of testing. The Project Manager (or UAT Workstream Manager) will co-ordinate a number of project staff to create this document (see the diagram in Appendix A).
Development Test Checklists

Lists of tests for members of the development team to consider when testing their own software (e.g. ‘Is there a need to test that the program can handle empty input files without crashing?’). Developers themselves will be responsible for creating and maintaining these lists, particularly for adding new entries as a result of fixing software in response to observations and following Post Implementation Testing Reviews. It is intended that a checklist will be used for a number of projects and that the lists will grow in length over time, but so much as to become impractical to use.
System Test Condition Lists

Lists of testable conditions, which provide an overview of potential tests so that the most important ones can be selected. Prioritised test conditions will be developed into test procedures and executed. Whenever Feature Inventories (or function lists) and Behaviour Inventories are produced (normally by Business Analysts), these will be used as inputs to create test conditions, otherwise condition lists could be produced from requirements specifications (e.g. User Requirements Definitions (URDs)). The System Test Condition List forms part of the System Test Specification (see the diagram in Appendix D).
System Test Specification

A document that contains or refers to the System Test Condition List. It also specifies the refinements to the test approach (if any). Once it has been approved, it can be used as the basis for developing detailed System Test Procedures (sometimes called test scripts) i.e. it forms the basis for System Test Execution. The System Test Condition List section of the specification may also be used as one of the inputs into the development of UA Test Procedures.
System Test Procedures (test scripts)

Often grouped together into sets, these documents provide instructions for the person responsible for running a test. A Test Procedure addresses how the tester can ensure that the test can start, how to navigate around the system and how to input data, as well as specifying the data values to be input and the expected results(see the diagrams in Appendices E and H).
System Test Run Log

A document which is updated after System Test Procedures are executed. It consists of a list of the identifiers of Test Procedures and groups of columns to be completed each time a Test Procedure is executed. These include the outcome of the test (pass/fail), the initials of the person executing the test, the date of the test and space for comments and the identifier of any observations raised as a result of the test. This provides a permanent record of the outcome of the test (see the diagram in Appendix H).
System Test Observation (incidents)

Produced during System Test Execution whenever a tester identifies a discrepancy between the outcome of a test and the expected results documented in the Test Procedure or whenever the tester observes something unusual. Not all observations are faults.
System Test Report

A document produced at the end of System Test Execution. It summarises the testing performed (in terms of scope, effort and duration)and details any departures from the Master Test Plan (e.g. by referencing any tests that were omitted) and summarises the outcome of the tests, presenting statistics about the number of Test Observations raised during each test run and briefly describing any significant observations which are still outstanding.
Business Scenario Inventory

The main input into a project’s set of UA Test Procedures and as such forms the basis of UAT. It documents the aspects of the business processes that need to be tested, so that business oriented User Acceptance (UA) Test Procedures can be developed. It places particular emphasis on tracing paths through the decision points of business processes, enabling planned testing to be easily reviewed for accuracy and omissions and then prioritised in accordance with business users’ wishes, prior to developing detailed Test Procedures for UAT. The Business Scenario Inventory forms part of the User Acceptance Test Specification.
User Acceptance (UA) Test Specification

A document which contains or refers to the Business Scenario Inventory. It also specifies the refinements to the test approach (if any). Once it has been approved, it can be used as the basis for developing detailed UA Test Procedures (sometimes called test scripts) i.e. it forms the basis for UA Test Execution. It also specifies the sources of data and responsibilities for data provision and data administration during the UAT.
UA Test Procedures (test scripts)

Often grouped together into sets, these documents provide instructions for the person responsible for running a test. A Test Procedure addresses how the tester can ensure that the test can start, how to navigate around the system and how to input data, as well as specifying the data values to be input and the expected results.
UA Test Run Log

A document which is updated after UA Test Procedures are executed. It consists of a list of the identifiers of Test Procedures and groups of columns to be completed each time a Test Procedure is executed. These include the outcome of the test (pass/fail), the initials of the person executing the test, the date of the test and space for comments and the identifier of any observations raised as a result of the test. This provides a permanent record of the outcome of the test.
UA Test Observation (incidents)

Produced during UA Test Execution whenever a tester identifies a discrepancy between the outcome of a test and the expected results documented in the Test Procedure or whenever the tester observe something unusual. Not all observations are genuine faults.
UA Test Report

A document produced at the end of UA Test Execution. It summarises the testing performed (in terms of scope, effort and duration) and details any departures from the Master Test Plan (e.g. by referencing any tests that were omitted) and summarises the outcome of the tests, presenting statistics about the number of Test Observations raised during each test run and briefly describing any significant observations which are still outstanding.
UA Test Sign-Off Form

A form signed by the Project Sponsor/Director and Managers of Business Areas impacted by the project as well as the UA Test Manager/ Test Analyst. Sign-off signifies that testing has been successfully completed in accordance with the Master Test Plan and UA Test Specification. Sign-off will typically take place at the Go Live Panel meeting in which the UA Test Report is discussed.
Updated Regression Test Library (RTL)

A selection of System Test Procedures and UA Test Procedures. After System Testing and UAT have completed, at a time specified in the UA Test Report (and quite possibly after LUT has completed) a selection of the new Test Procedures (for both System Test and UAT) will be incorporated into the Regression Test Library (RTL) to be executed as part of System Test Execution for the next relevant project. It may also be appropriate to remove some existing Test Procedures from the RTL to prevent it from growing beyond a useful size.
Live User (LU) Test Procedures

Consists of a subset of System Test Procedures and UA Test Procedures to be run over the implementation weekend against the target production machine. These LU Test Procedures provide confirmation that the software is configured correctly.
LU Test Sign-Off Form

This is a form acknowledging approval from the Project Sponsor and signed by the UA Testers responsible for executing the LU Test Procedures. Sign-off signifies that the results of LUT on the target production environment are consistent with those obtained in UAT.



Finally for the 3rd question the answer is "YES"
Sean2 is offline Offline   Reply With Quote
The Following 2 Users Say Thank You to Sean2 For This Useful Post:
ajit001 (27-03-09), suresh_edk (01-09-08)
Old 01-09-08, 11:13 AM   #4 (permalink)
Member
 
suresh_edk's Avatar
 
Join Date: Apr 2008
Posts: 85
Thanks: 42
Thanked 15 Times in 11 Posts
Rep Power: 3 suresh_edk has a spectacular aura about suresh_edk has a spectacular aura about
Re: What is the difference between Test cases and Test scenarios?

Hi,

Thanks to Hightech and Sean2 for the detailed explaination.

Regards,
Suresh Kumar K.
suresh_edk is offline Offline   Reply With Quote
The Following User Says Thank You to suresh_edk For This Useful Post:
ajit001 (27-03-09)
Reply

Tags
cases , difference , scenarios , test


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
Beginners Guide to software testing cena Testing Tools & QA 25 22-10-09 02:49 PM
TEST CASES simhadri44 Testing Tools & QA 2 23-02-09 09:42 AM
What is the difference between Test scenarios and test cases s.udayakumar Testing Tools & QA 2 26-08-08 12:14 AM
test the test cases slinkanand Testing Tools & QA 2 23-10-06 02:13 PM


All times are GMT +6.5. The time now is 12:53 AM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0