In writing a test case, you should follow these steps:

  1. Create a simple test case and a scenario.
  2. To execute the test case, add the test data.
  3. Perform a specific set of actions on the AUT.
  4. 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.
  5. Include the precondition and post-condition.