How to write test cases

Syntax of test case documentation

Test objective 
Describe the test objective in natural language.
Prerequisites
Describe the prerequisites in natural language.
Test scenario description
Write this as a „one-sentence beginning with
“Ensure that system does/does-not…”
Test cases
For each scenario list the test cases as a table shown below.

TC IDInput #1Input #2Input #3Expected Output
TS1.TC1———–———–———–———–
TS1.TC2———–———–———–———–
TS1.TC3———–———–———–———–

Test steps/procedure
Describe the procedure for execution as a series of steps.
1 ….
2 ….

Leave a Reply 0

Your email address will not be published. Required fields are marked *