Monday, August 1, 2016

How to write test cases?



To write scenarios, first you need to identify the requirements. You need to read all the business rules and functional flow from SRS and BRS documents.
After requirement clarity, clear the types of testing required by client either they want only functional testing in application or they want load testing, database testing or any other type of testing in application.
If client requires only functional testing, identify the functional positive and negative scenarios in application and start writing in following format.
Make following columns in excel sheet.
1.       Test Case ID
2.      Module Name
3.      Requirement Number (Trace from SRS, BRS directly)
4.      Title of scenario
5.      Prerequisites
6.      Test Data
7.      Steps to be executed
8.      Expected Result
9.      Actual Result
10.   Pass/Fail
11.    Fail Bug ID
12.   Comments
Make sure you cover all the positive and negative scenarios to test the application which makes 100% coverage of your testing in the application. Let me know if any query.

1 comment:

  1. I would like to thank you for the efforts you have made in writing this article about Software Testing Services in Boston. I am hoping the same best work from you in the future as well Software Testing Companies in Chicago. Thank you for sharing such a great blog post Software Testing Companies in Dallas with us this blog is really informative and useful, keep it up..

    Read more - Software Testing Services in Florida

    ReplyDelete