You are on page 1of 10

STLC-part4

5. Test Design/TC Design-1


- Test case
-Use Case
-Test Scenarios
By
MadhukarQAIT
• Agenda:
• What is Test Case?
• What is Use Case?
• What is Test Scenario?
• Difference among the Use Case, Test Scenario and Test case?
• Test Case:
• A TC describes validation procedure of a specific requirement in
application
• A TC consist set of steps or sequence of steps with user actions and
subsequent response from the system
• In general after necessary training sessions (i.e. KT’s) TE’s are the
responsible to prepare test cases
• Inputs to prepare test cases:
i. Requirement documents like BRS & FRS
ii. Use Case doc
iii. UI Design doc
iv. Test Scenarios
• What is Use Case?
• Use Case describes functional behaviour from users prospective in terms
of “Actors action” and “System response”
• It is an optional document, whenever requirements are not clear or
complex then only we will get use case doc
Use case for “Create new Branch by an
Administrator”
Actor Action System Response
1. Actor login 2. System displays Admin module
3. Actor select Branches 4. System Displays Branches details page
5. Actor clicks new Branch 6. System Displays “New Branch” Entry page
7. Actor Enters necessary fields with valid data 8. System displays a message “New Branch
and clicks Submit Created successfully with Branch ID” with “Ok”
Button

9. Actor enters necessary fields with valid data 10. System clears all fields.
and clicks Reset.
11. actor enters necessary fields with valid data or 12. System closes the new branch entry page and
with out entering any fields clicks Cancel displays branches details page.
GUI/UI Design doc:

• It contains model of the application (i.e. Prototypes/Blueprint)


• Prototypes will help to foresee the future implementation of the
application
• What is Test Scenarios:
• It describes a Test Condition or Requirement or functionality which we need to
validate in application
• A Test Scenario can have one or more number of test cases
• Advantages of TS:
• Based on Test scenarios we can able to identify possible number of test cases need to
be drafted
• With help of test scenarios we can provide complete test case coverage for a project
***Difference among the Use case, Test
Scenario and Test case
Use Case Test Scenario Test Case
It describes functional behavior It describes Test condition or It describes validation procedure
from users point of view Requirements which we need to of specific requirement in
validate Application

How system need to work? Which we need to Test? How we need to test?
• Website: www.madhukarQAIT.com
• Mail Id: madhukarQAIT@gmail.com
• YouTube Channel: MadhukarQAIT

You might also like