Looking to Learn What is Test Cases in Software Testing? How do you write test cases in software testing? Then Explore here, The Top Points cover by Leading, Software QA testing companies in the USA
2. HighlightsWhat is a Test Case?
What is the standard format of Test
Cases?
How to Write Test Cases Manually?
Best Practices to define good Test
Cases?
Top Test Case Management Tools
Sample Test Case Example
www.TestrigTechnologies.com
3. What is a
Test Case?
www.TestrigTechnologies.com
03
Performing software testing without test cases
is just not possible. To ensure high-quality software
testing, writing a good
test case is important.
A test case refers to the documented set of
prerequisites, procedures, as well as post conditions,
developed for a specific
test scenario. The test case is mainly used by the
testers to check whether the
software is in line with the requirements and works in
the desired manner. In
simple terms, it is a single executable test carried out
by the testers during
software testing. It can even be considered as the
step-by-step instructions
essential for verifying the behavior of the software.
01
5. Preconditions include the conditions that
need to be fulfilled before the execution of the test case.
PRE-CONDITIONS
A unique ID is essential for each of the test cases. Testers usually
follow a particular naming convention for enhanced understanding.
TEST CASE ID
It states a summary of the test case
TEST CASE DESCRIPTION
It includes the actions or the steps
required for executing the test cases.
TEST STEPS
Test data serves as an input for the test cases.
TEST DATA
6. The result that is shown by the system
after the execution of the test case.
ACTUAL RESULT
It indicates the results that are
expected after the execution of the test case.
EXPECTED RESULT
The condition that needs to be achieved
when test cases have been successfully executed.
POST CONDITION
If the
actual results match the expected results, the status is pass, it is
failing.
STATUS
7.
8. 03
- Have a clear description
of the test case
- Write the preconditions
essential for the test case
-Write a test case ID that
is unique
TIPS: HOW
TO WRITE
TEST CASES
MANUALLY?
www.testrigtechnologies.com
- Clearly and concisely
state the test steps
- Write the test data
- Indicate the expected
results precisely
- Write down the
postconditions of the test
case
- Include the actual result
-Show the status of the
test case
www.TestrigTechnologies.com
10. Practices
D e v e l o p t e s t c a s e s k e e p i n g t h e p e r s p e c t i v e o f t h e e n d - u s e r s i n m i n d .
W r i t e t h e t e s t c a s e i n e a s y t o u n d e r s t a n d a n d s i m p l e l a n g u a g e .
M a k e u s e o f a c t i v e v o i c e .
U s e c o n s i s t e n t a n d e x a c t n a m e s .
A v o i d r e p e t i t i o n i n t e s t c a s e s .
U t i l i z e t e s t i n g t e c h n i q u e s .
W r i t e r e u s a b l e a n d a c c u r a t e t e s t c a s e s .
G e t t h e t e s t c a s e s p e e r - r e v i e w e d .
www.TestrigTechnologies.com
12. Sample
Test Case
Examples
06
Title: Login - 1
Description: A registered user must be able to
log in at gmail.com successfully.
Precondition: A valid user account.
Test Step:
Go to gmail.com
Enter a valid email address in the email field
Click on the Next button
Enter password
Click on ‘Sign in’
Expected Result: Login success
Actual Result: Login success
Status: Pass
www.TestrigTechnologies.com
13. Contact us
+1 (347) 464-1241
PHONE NUMBER
info@testrigtechnologies.com
EMAIL ADDRESS