Test Cases - PPT
Test Cases - PPT
The software testing process doesn’t limit to finding faults in the present software but also
finding measures to upgrade the software in various factors such as efficiency, usability, and
accuracy. So, to test software the software testing provides a particular format called a Test
Case.
• A test case is a defined format for software testing required to check if a particular
application/software is working or not.
• A test case consists of a certain set of conditions that need to be checked to test an
application or software i.e. in more simple terms when conditions are checked it checks if
the resultant output meets with the expected output or not.
• A test case consists of various parameters such as Id, condition, steps, input, expected
result, result, status, and remarks.
Sr.
No. Test Case Test Scenario
Test cases are more detailed with a number Test Scenario provides a small description, mostly
2.
of parameters. one-line statements.
3. Test cases are low-level actions. Test scenarios are high-level actions.
Test cases are mostly derived from test Test scenarios are derived from documents like BRS,
4.
scenarios. SRS, etc.
After development: Test cases are also written directly after coming up with a
product/software or after developing the feature but before the launching of a
product/software as needed to test the working of that particular feature.
During development: Test cases are sometimes written during the development time,
parallelly. so whenever a part of the module/software gets developed it gets tested as
well.
Why Write Test Cases?
Test cases are one of the most important aspects of software engineering, as they define
the way in which the testing would be carried out. Test cases are carried out for a very
simple reason, to check if the software actually works or not. There are many advantages
of writing test cases:
1. Test cases help to check if a particular module/software is meeting the specified
requirement or not.
2. Test cases determine if a particular module/software work with a given set of
conditions.
3. Test cases help to narrow down the software needs and required updates.
4. Test cases are easy, simple, and clear as they are step by step and well documented.
5. Test cases are detailed which makes them helpful during the maintenance phase.
Test Case Field Description
Each test Test
case Case
should be represented by a unique ID. To
Format
Test case ID: indicate test types follow some convention like “TC_UI_1”
indicating “User Interface Test Case#1.”
It is useful while executing the test.
Test Priority:
•Low Medium High
Determine the name of the main module or sub-module
Name of the Module: being tested
Test Designed by: Tester’s Name
Date of test designed: Date when test was designed
Test Executed by: Who executed the test- tester
Date of the Test Execution: Date when test needs to be executed
Name or Test Title: Title of the test case
Description/Summary of
Test: Determine the summary or test purpose in brief