Member-only story

How To Write Test Cases and Test Scripts For QA Testing

The Test Lead
5 min readJun 22, 2022

--

One of the most important parts of the test plan creation and testing life cycle, in general, is writing test cases. I have separate articles discussing the software testing life cycle and creating a test plan that you can view as well.

As a QA specialist, you are responsible for many different types of documentation. One of which is test cases. Test cases are a set of actions that you perform to ensure something is functioning as expected. Some test cases are written in test management tools such as Jira and others are written simply in an Excel document. No matter where you write your test case, the most important part is that you are actually writing it.

This article will discuss:

  • Types of Test Cases
  • Test Case Structure
  • Test Case Best Practices

Types Of Test Cases

There are 3 main different types of test cases, positive, negative, and destructive.

Positive test cases use valid inputs in their steps to confirm that the software is doing what it is supposed to do. An example of this is when you are going to log in to your banking application. A positive test case would be to enter your correct credentials and ensure that you are able to sign in to the…

--

--

The Test Lead
The Test Lead

Written by The Test Lead

Lead SDET at fintech company in NYC. Visit personal page http://thetestinglead.com// Twitter @juss_bailey Youtube @The Test Lead

Responses (3)