In writing a test case, you should follow these steps:
- Create a simple test case and a scenario.
- To execute the test case, add the test data.
- Perform a specific set of actions on the AUT.
- Check the behaviour of the AUT. In this test, check the results, then compare the actual and expected results and assign a pass or fail.
- Include the precondition and post-condition.