Lounge - test case ,test plan & test scenario?

Asked By Ali Khan on 14-Dec-11 06:53 AM
what is the exact difference among test case ,test plan &  test scenario?kindly wi th example//
Venkat K replied to Ali Khan on 14-Dec-11 07:00 AM
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.
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
 

Thanks
dipa ahuja replied to Ali Khan on 14-Dec-11 07:02 AM

A test plan is a document that describes the scope, approach, resources, and schedule of intended testing activities, while a test scenario is a document that describes both typical and atypical situations that may occur in the use of an application.

Test plans define the scope, approach, resources, and schedule of the intended testing activities, while test procedures define test conditions, data to be used for testing, and expected results, including database updates, file outputs, and report results.


A test plan is a description of the scope, approach, resources, and schedule of intended testing activities, while a test scenario is a description of test cases that ensure that a business process flow, applicable to the customer, is tested from end to end.

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 
executing of a test.

Suchit shah replied to Ali Khan on 14-Dec-11 07:03 AM

Test case

A team uses test cases to define both manual and automated tests that can be run and managed by using Microsoft Test Manager. By using Microsoft Test Manager, you can create not only test cases but also test suites and test configurations that support testing your project. You can use test configurations to define how you want to run your test cases and test suites. You can group your test cases together by organizing them into a hierarchy of test suites in your test plan. By creating test suites, you can run sets of test cases as a group

Test Plan

A test plan lets you specify what you want to test and how to run those tests. A test plan can be applied to a specific iteration of your project. You can have just one default test suite for your test cases, or you can create a test suite hierarchy.

You can also select the default configurations to use to run the tests in your test plan. The test configuration informs the tester of the set up that is required for these tests. You can have one or multiple default configurations. A test result is recorded every time that you run the test with a specific configuration. A test plan enables you to measure your testing progress, based on these test results for the test and configuration pairings, as shown in the following illustration.


Test scenarios

Test scenarios describe the essential behaviour of a module. You should perform the tests on a nonproduction instance of Project Server to allow you to make modifications to the enterprise resource pool and project data that do not impact critical systems.   

Jitendra Faye replied to Ali Khan on 14-Dec-11 07:08 AM
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