Example of Test Cases

Test Cases On Objects

Test Cases Tutorial Definition Example - Complete Guide

What are Test Cases?

A test case is a set of documented sets of data, preconditions, procedures, and postconditions develop by software testers for particular test scenarios in order to determine whether a system under test satisfies business requirements or not. In software testing collection of multiple test cases and test, scripts are called the test suite.
"A set of actions perform to verify the functionality or feature of a software application is known as the test cases "
Need for Test  Cases - Why Do We write Test Cases?
Writing test cases is the most important part of software testing and also it is a major activity done by the testing team, development team, and management team.
  • If there is no document for an application, then test cases use as baseline documents. 
  • Test cases bring together the whole testing process.
  • To have the test consistency in test execution.
  • Test cases used for training purposes on products for a new team.
  • Test cases act as proof for the customer and manager that we have covered all the scenarios.
  • Test cases act as the bases document for the preparation of the automation script  
Who Writes the Test Cases?
Answer: The UAT Team (Quality Analyst Team)

Test cases are created in which phase of Development?
Test cases are designed during the test specification phase. Test cases are created on the basis of customer requirements.
How To Write Test Cases In Manual Testing?
Before writing Test Cases tester needs to follow things very clearly.
  • Before Writing, test cases make sure that you have a better understanding of customer requirements.
  • Identify the test scenarios on the basis of requirements.
  • Identify the test data.
  • Perform action by entering the test data.
  • Verify the actual result with an expected result.
  • When to Write Test Cases?
  • Once the partial coding of the requirement is complete then you only can expect the expected result then you can write start writing a test case or it depends
Test Cases writing depends on the following thing also.
  • Your project? 
  • What your role in the project is? 
  • Who's testing?
  • When does it need to be tested? 
  • Regulated environment? 
  • Target installation environment? etc

Test Cases Parameters 
  • Test Cases ID 
  • Test Cases Title 
  • Test Cases Description 
  • Prerequisite
  • Test Cases Steps
  • Test Data
  • Expected Result
  • Actual Data 
  • Status
  • Remark  
  • Test Cases Templates 
Examples of Test Cases
Here Some of the important examples of test cases are given...

Coming Soon...


Real-time Test Cases example asked in the interview