Test Case Process
Test Case: A set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.
Test Script: scripts that use for testing or check the output or for automation testing
Test Data: data is using for testing
Why Test Case?
Detail of test design to describer how to deploy test design
Predict expected result
Help new testers familiar with existing application/system without reading requirement
Good Test Case
Has a high probability of finding errors
Clear of purpose
Well organized
Reviewable
Maintainable
Useful to other testers
Test Case Structure
General information: cover sheet
Project information
Record of change
GUI: List all screen information to check easily
[Module Name] test cases
Pictures: list all screen designs that should be tested.
These screens must be approved by customer
Test Report Refer to Test Case template
GUI – Graphic User Interface
Screen Name
Field Name
Expected Output:
Type
Mandatory
Editable
Default value
Max Length
Range Value
Test Status
Test Date
Notes.
GUI - example
[Module] Test Case
ID
Test case description:
List cases/scenario that will be tested
List cases, designed in test design document for the specific function/module
Test case procedures:
Test actions taken by the actor when executing a testcase
Test input: the actual values/data input by the actor at each step/action
Expected output: the expected response from the application for a given step/action
Inter-test case dependence: List all test cases that must be done before performing this case
Actual output: the actual response from the application for a given step/action
Result: Pass; Fail; Untested; N/A
Note
Test Script
Check test output
Recorded automatically
Coded manually: using test tools or standard programming languages like VB, C/C++, Java or SQL
Test stub: temporary implementation of part of a program for unit test purposes
Test driver: program which sets up an environment to call a module (or function) for testing
Test Script [Example]
Check test output
Recorded automatically: using RUBY test tool
#13 How To Create A TestCase
Related Posts:
#5 Software Testing Purpose: "Introduce overview and fundamental concepts of Software testing" Part 1: What is testing? Testing concepts Part 2: Why … Read More
#7 Test Level and ExamplePurpose: Introduce test levels: unit test, integration test, system test, acceptance test. Part 1: Unit Test Part 2: Integration Test Part 3: S… Read More
#4 Quality Assuarance Purpose: "Provide you some concepts and techniques related to Quality Assurance of software systems" Quality Assurance Focus on correctness … Read More
#6 Test Process Purpose: "Introduce fundamental test process and activities" Contents Part 1: Planning and Control Part 2: Analysis and Design Part 3: Implem… Read More
#3 Software Quality Purpose: "Definition the expected characteristics of high-quality software" Part 1: Quality Concepts Part 2: Quality frameworks & ISO-9126 … Read More