GeekInterview.com
Series: Subject: Topic:
Question: 29 of 45

Difference between Test Scenario and Test Case?

Asked by: Interview Candidate | Asked on: Jun 10th, 2006
Showing Answers 1 - 28 of 28 Answers
Aurobindo

Answered On : Jun 12th, 2006

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

Yes  1 User has rated as useful.
  
Login to rate this answer.

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.

Yes  2 Users have rated as useful.
  
Login to rate this answer.
ravi

Answered On : Jun 30th, 2006

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

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

  
Login to rate this answer.
AK

Answered On : 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.

  
Login to rate this answer.
Aniket Rane

Answered On : 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.

  
Login to rate this answer.
Suraj

Answered On : 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).

  
Login to rate this answer.
sudhakar2068

Answered On : 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.

  
Login to rate this answer.
Murali

Answered On : Dec 12th, 2006

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

  
Login to rate this answer.
venkatakrishnan

Answered On : Dec 19th, 2006

a test scenerio is a set of interlinked test cases

Yes  1 User has rated as useful.
  
Login to rate this answer.
Maddy

Answered On : 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.

Yes  1 User has rated as useful.
  
Login to rate this answer.
MadhuSudhanReddy

Answered On : 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.

  
Login to rate this answer.
saraswathy

Answered On : 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%

  
Login to rate this answer.

Test Scenario: From the requirements use cases can be derived, from the use cases scenarios can be derived whichdescribes 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

  
Login to rate this answer.

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 book3 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 onBusiness 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

Yes  3 Users have rated as useful.
  
Login to rate this answer.
sangeesekar

Answered On : Mar 10th, 2010

View all answers by sangeesekar

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.

  
Login to rate this answer.
venkat

Answered On : Aug 14th, 2011

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

  
Login to rate this answer.
Ben

Answered On : 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.

  
Login to rate this answer.
POLU SUJAN KUMAR REDDY

Answered On : Sep 8th, 2011

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

  
Login to rate this answer.
Priya

Answered On : 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)

  
Login to rate this answer.
Ramakrsihna

Answered On : 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.

  
Login to rate this answer.
sayee

Answered On : Feb 27th, 2012

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

  
Login to rate this answer.
Suma

Answered On : 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...

  
Login to rate this answer.
Raghu

Answered On : Aug 4th, 2012

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

  
Login to rate this answer.
nz

Answered On : Aug 5th, 2012

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

  
Login to rate this answer.
dileep

Answered On : 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.

  
Login to rate this answer.
gunjan

Answered On : Sep 13th, 2012

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

  
Login to rate this answer.
friend

Answered On : Feb 14th, 2013

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

  
Login to rate this answer.
cine.cine

Answered On : 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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.