Difference between Test Scenario and Test Case?

Showing Answers 1 - 75 of 106 Answers

Aurobindo

  • Jun 12th, 2006
 

Test cases are derived (or written) from test scenario. The scenarios are derived from use cases.?

A test scenario is almost like a story like example "a user enters into the application from login window by entering valid user name and password.After entering he will click on module Payslip and clicks on latest payslip feature to view his latest payslip".Any test scenario will contain a specific goal.

A test case can be derived from a scenario .For the above scenario we can write a test case like :

Test Case # 1:

S.No          Steps                     Expected

1        Open the login window     Login window is open

2        Enter valid UN & Pwd       Application should be open

3        Click on Payslip               Features in payslip should be displayed

4        Click on latest payslip feature  It should open latest payslip window

Above is a positive test case and a negative test case can also be prepared.A test case is prepared and executed with a goal to find the hidden defects with different possibilities.

ravi

  • Jun 30th, 2006
 

Test Scenario: From Use Case & Functionality Requirement of the Application.

Test Case: From Test Scenario (Use Case & Funtionality Requirement) of App.

  Was this answer useful?  Yes

AK

  • Jul 11th, 2006
 

 

Test Scenario represents a series of actions that are associated together. (From initiation to completion)

Test Case represents a signle (low level) action by the user.

  Was this answer useful?  Yes

Aniket Rane

  • Aug 29th, 2006
 

Test Scenarios are just a flow of the application.

e.g. 1. Filling up all the fields on the form --> click on Ok button --> Next screen

1. Filling up all the fields on the form --> click on Cancel button --> All the will be erased.

The main difference between test scanarios and test cases is scenarios won't contain actual data to be put while executing where as test cases will have actual data to be put and the expected result.

Everything else will remain the same. Anyone correct me if I am wrong.

  Was this answer useful?  Yes

Suraj

  • Sep 11th, 2006
 

Test Scenario is a high level test case,but Test case is a detailed set of test data used by a tester which also mentions the expected results.A test case validates one or more system requirements and generates a pass or fail (bug).

  Was this answer useful?  Yes

sudhakar2068

  • Oct 1st, 2006
 

Test case:Test Case is a commonly used term for a specific test. This is usually the smallest unit of testing. A Test Case will consist of information such as requirements testing, test steps, verification steps, prerequisites, outputs, test environment, etc. A set of inputs, execution preconditions, and expected outcomes developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.

Test scenario:Definition of a set of test cases or test scripts and the sequence in which they are to be executed.

sudhakar kolla.

My Email:kollasudhakar2005@yahoo.co.in.

My Number:09819859346.

  Was this answer useful?  Yes

Murali

  • Dec 12th, 2006
 

Test Scenario is name of the test cases list & Test Case is executable statements w.r.p. to requirements.

  Was this answer useful?  Yes

venkatakrishnan

  • Dec 19th, 2006
 

a test scenerio is a set of interlinked test cases

Maddy

  • Jan 10th, 2007
 

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.

MadhuSudhanReddy

  • Feb 22nd, 2007
 

I want to give simple example for Test scenario and Test cases

For Example:If i want to validate the login page

Test Scenario will be: User receives an error message when he enters invalid 
                                     parameters in the login page.

Test Cases 1: User receives an error message when he enters valid userid and  
                       invalid password.
Test Cases 2: User receives an error message when he enters invalid userid and   
                       valid password
Test Cases 3: User receives an error message when he enters invalid userid and   
                       invalid password

Based on the Test Scenario ,Test engineer are writing test cases.

Test Scenario are derived from the Client Requirements.

  Was this answer useful?  Yes

saraswathy

  • Jul 21st, 2007
 

Bookmen and company offers trade discount to established booksellers and others for a rearly relased best seller. The specification for discounts is as follows-
for private customer or libraning:
___________________________

if mode of payment is cash, then discount 20%
if mode of payment credit card the discount is 10%
if order quantity is less then 6 and greater then 60 then there is no sale and appropriate message are displayed for all types if customers.

for book sellers:
----------------------
If order quantity isa >=6  and <=20 and mode of payment is cash, then discount 5% and if mode of payment is credit card, then discount 4%

If order quantity is >20 and <=60 and mode of payment is cash then discount 15% and if mode of payment is credit card,then discount 13%

Test Scenario: From the requirements use cases can be derived, from the use cases scenarios can be derived which?describes high level requirement.

Test Case: It's a check list to verify the application against the requirements or scenarios, one scenario contains more than one test cases.

Ex: Let as assume that there is a login page, for that we need to write the cases.

Test Scenarios:

-> Login with valid data
-> Login with invalid data
-> Login with hacked data


Test cases:

Login with invalid data:

-> Login with valid un, invalid pw
-> Login with invalid un, invalid pw
-> Login with invalid un,?valid pw

  Was this answer useful?  Yes

Test cases is concerned with a single functionality, but where as test scenarios is concerned with end to end transaction with business point of view

Example for Test Case on Flight Application 
Test Case Name :Check the functionality of Login Button
Steps:
1) Invoke Flight Application
2) Enter User name
3) Enter Password
4) Click Login Button

Example of Test Scenario on Flight Application

Test Scenario : Check whether citizens are able to book 1 ticket on Economy class

Steps:
1) Invoke Flight Application
2) Enter valid User name
3) Enter Valid Password
4) click on Login Button
5) Click on File Menu and Select New Order
6) Select date, Flight From, Flight To
7) Click on Flight Icon Button
8) Select the desired Flight from the list and Click OK button
9) Enter your name
9) Select Class of ticket (economy)
10) Enter NO of Tickets (example:1)
11) click order button

Test Scenario : Check whether citizens are able to book 3 ticket on Economy class

Steps:
1) Invoke Flight Application
2) Enter valid User name
3) Enter Valid Password
4) click on Login Button
5) Click on File Menu and Select New Order
6) Select date, Flight From, Flight To
7) Click on Flight Icon Button
8) Select the desired Flight from the list and Click OK button
9) Enter your name
9) Select Class of ticket (economy)
10) Enter NO of Tickets (example:3)
11) click order button

Test Scenario : Check whether citizens are able to book tickets on Business class

Steps:
1) Invoke Flight Application
2) Enter valid User name
3) Enter Valid Password
4) click on Login Button
5) Click on File Menu and Select New Order
6) Select date, Flight From, Flight To
7) Click on Flight Icon Button
8) Select the desired Flight from the list and Click OK button
9) Enter your name
9) Select Class of ticket (Business)
10) Enter NO of Tickets (example:1)
11) click order button


Like wise you can creates more scenarios with different dates, different flights, class, no of tickets etc

Hope this will help full to you

sangeesekar

  • Mar 10th, 2010
 

Test scenario means that it will give the summary of what fucntionality you are going to check.

Test case means the flow for testing the functionality.

  Was this answer useful?  Yes

venkat

  • Aug 14th, 2011
 

Test Scenario is condition writing.
Test Case is procedure writing.

  Was this answer useful?  Yes

Ben

  • Aug 30th, 2011
 

Test Scenario: This is a brief story about the flow/path followed by the system/application under test to achieve a business Use case

Test Case: The various checkpoints that define the expected results/Behaviour of the application. A Test scenarios will have multiple test cases that need to be executed in order for a QA to consider the Application is meeting the requirements.

  Was this answer useful?  Yes

POLU SUJAN KUMAR REDDY

  • Sep 8th, 2011
 

Test Scenario means what is to be Tested and Test Case means How What is to be Tested.

  Was this answer useful?  Yes

Priya

  • Oct 10th, 2011
 

Test Scenario: It is nothing but a particular functionality of the application need to be tested.

Example: "Checking the login page of an application".

Test cases: It is a set of test steps to follow that performs the above functionality.

Example:

Step 1. enter valid username.
Step 2. enter valid password.
Step 3. click on submit button.

(along with the expected results for each step is mentioned)

  Was this answer useful?  Yes

Ramakrsihna

  • Oct 19th, 2011
 

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:
A set of test data and test programs (test scripts) and their expected results. A test case validates one or more system requirements and generates a pass or fail.

  Was this answer useful?  Yes

sayee

  • Feb 27th, 2012
 

Test scenario is Nothing but "What to Test" and Test case is "How to Test"

  Was this answer useful?  Yes

Suma

  • Apr 22nd, 2012
 

Test case is document, which describes how the application should work like step by step detailed executable process( Inputs, expected outcome). where as Test scenario high level test case It doesn't include any executable steps. For example: if we take any login page.
Test scenario: "Verify the Login page" this is high level scenario:
Test case: Enter the username, and password(inPuts) and click submit button ....User name , pwd should be entered successfully page navigates to different page...something...detailed description is called test cases....step by step procedure...

  Was this answer useful?  Yes

Raghu

  • Aug 4th, 2012
 

Test scenario is noting but test case test how do u execute the test case

  Was this answer useful?  Yes

nz

  • Aug 5th, 2012
 

Hi Raghu, My lecturer has given me a test scenario to create a test case, it looks simple but it’s a bit confused in the beginning don't know how to initiate. can you help me please?

  Was this answer useful?  Yes

dileep

  • Sep 13th, 2012
 

Hi Raghu,
I am not satisfy your answer. Test scenario is different and testcase is different. In this test scenario we are testing specific functionality, nothing but number of test test cases.

  Was this answer useful?  Yes

gunjan

  • Sep 13th, 2012
 

test scenario is top view of any application.
and by using test scenario , test cases should be written

  Was this answer useful?  Yes

friend

  • Feb 14th, 2013
 

It is a document, which describe the sequence on which test cases should be executed

  Was this answer useful?  Yes

cine.cine

  • Mar 21st, 2013
 

Test scenario gives the idea of what we have to test for eg: a login page.one test scenario will be" verify the functionality of the username textbox". test scenario is a high level design doc which is made from the applications use-case and requirement functionality.

Test Cases tells us how to do THAT test. eg: for the above condition corresponding testcases can be "check the uname with valid values".."check with alphanumeric etc....".Its a low level doc prepared from test scenario.

  Was this answer useful?  Yes

sarika

  • Jun 3rd, 2014
 

No dileep its not be different ,by using test scenario will creat the test cases

  Was this answer useful?  Yes

Little Sahoo

  • Jun 6th, 2014
 

Test Scenario: The situation or scene where we have to do testing on an application.

Test Case: The details/ procedure of testing describing what we are doing to test it. It is derived from test scenario.

  Was this answer useful?  Yes

tushar

  • Jul 25th, 2014
 

Test scenario means high level of functionality and test case means how to test the particular functionality.

  Was this answer useful?  Yes

Shruthi

  • Nov 26th, 2014
 

Test Scenario : What to test ?
Test Case : How to test ?

  Was this answer useful?  Yes

mahendra

  • Apr 27th, 2015
 

test scenario:-the requirements use cases can be derived, use case scenario can be derived high level requirements

example:-login gmail application

test case:-set of steps or sequence of steps with the user action and subsequent
example:-gmail application
valid user name ,valid password
valid user name ,invalid password
invalid user name, valid password
invalid user name,invalid password

  Was this answer useful?  Yes

Jay

  • Aug 27th, 2015
 

Test Scenario: What to test, a simple one liner define the functionality Under Test

Test Case: How to Test, Step by step sequence with set of inputs, pre-conditions, post conditions expected and actual result.

  Was this answer useful?  Yes

Anusha

  • Sep 22nd, 2015
 

Test scenario: It Describes the which situation there is scope to test
Test case: It is step by step procedure of each&every possible cases of an application

  Was this answer useful?  Yes

Neha Malik

  • Feb 5th, 2016
 

Test scenario defines what to test whereas test case defines how to test.

  Was this answer useful?  Yes

Nitin Singh

  • Feb 20th, 2016
 

Test Scenario is description of functionality based on specific Business Requirements
Test Case describes steps / Actions to meet functional Aspects with objective(s) / expected results and Actual Results.
There could be multiple Test Cases for some Test Scenario

  Was this answer useful?  Yes

smita

  • Jul 14th, 2016
 

Test scenario - What are the thing you need to validate, that you have to describe in a single sentence. For 1 scenario you may have several test cases.
Test case - It includes the steps to validate the particular things.

  Was this answer useful?  Yes

sharada

  • Aug 23rd, 2017
 

Test scenario: Test scenario will define the business flow for the given requirements

Test case: It defines the step and the actions to be performed to check the expected functionality always talks about one single flow.

  Was this answer useful?  Yes

Gorbie

  • Sep 19th, 2021
 

Hi Aniket, a few clarifications if I may. A Test scenario is more a high-level Description of a Functional Flow, e.g.: A customer gets on a CX portal to request a New Service Activation. A Test case will be derived from this Test scenarios with details such as,
1. Test Steps
2. Input Data values
3. Expected output
4. etc...
Test cases are Functionally executable for a given Test when the Test steps are followed
while Test Scenarios are not...
Hope this make the Topic a bit clearer Thx...

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions