What is Test Cases ? How to Write Test cases ?

What is Test Cases ?
Test cases is a document which contain all the possible scenarios against the requirement. A test case is a set of conditions or variables under which a tester determines whether the software satisfies the customer requirements and functions accordingly.

Test Cases Contain:
  • Test Case ID : For tests coverage and management we gave an unique Id for each test cases.
  • Test Scenario : What we have to test.
  • Test Case Description : How we have to test in details.
  • Test Steps : Steps which we are follow . 
  • Test Data : what data we are going to use to test the requirement .
  • Expected Result : Result which we expect 
  • Actual Result : Result which we get 
  • Status : Pass/ Fail
  • Environment Information : OS/ Browser / Platform
  • Comments : Comment 
Note : Test Cases templates vary company to company all the company have there own standard templates but some point are common for all . 

Why We write the Test Cases ?
  • Tracking test coverage 
  • Maintain consistency 
  • Reusability
  • Easy to Automate 
  • To improve quality 
Uses of Test Cases 
Use of test cases are given below .
  • To have test consistency in test execution.
  • To avoid training on the product for a newly join QA engineer test case help to understand the product .
  • Test cases act as proof for the customer and manager that we have cover all the possible scenarios for each and every requirement.
  • Test cases act as the base document for the preparation of automation script. 

Who writes Test Cases ?
Generally QA team write the test cases.


When QA team write the Test Cases? 
When the development team develop the product then the testing team write the test cases 

How to write manual Test Cases ?

Below we are going to write test cases for login page and try to understand that how we write the test cases for real time project .



Post a Comment

0 Comments