Test Analysis & Design ( What is Test case )
Test Analysis & Design
Test Case Fundamentals
What is Test case definition?
A test case is a document, which has a set of test data, prerequisite conditions, expected results, developed for a particular test condition in order to verify output against a given requirement.
The process of developing test cases can also help find problems in the requirements, architecture or design of software.
Test Case Template
A test case can have the following elements. Note, however, that normally a test management tool is used by companies and the format is determined by the tool used, this is basic format use when writing test cases from excel tool.
|
Test scenario ID
|
The ID of the test scenario to which this test case belongs<High-level test case belongs to which module>.
|
|
Test Case ID
|
The ID of the test case.
|
|
Test Case Description
|
The description/objective of the test case.
|
|
Prerequisites
|
Any preconditions that must be fulfilled prior to executing the test.
|
|
Test step Input
|
Input step to test the test conditions
|
|
Test Data
|
The test data, input data for test condition can say parameter
|
|
Expected Result
|
The expected result of the test.
|
|
Actual Result
|
The actual result of the test; to be filled after executing the test.
|
|
Status
|
Pass or Fail , SKIP
|
|
Comments
|
Any comments on the test case or test execution.
|
|
Created By
|
The name of the author of the test case.
|
|
Date of Creation
|
The date of creation of the test case.
|
|
Executed By
|
The name of the resource who executed the test.
|
|
Date of Execution
|
The date of execution of the test.
|
|
Test Environment
|
The environment (Hardware/Software/Network) in which the test was executed.
|
TEST CASE EXAMPLE ( SAMPLE TEST CASE )
|
Test scenario ID
|
1
|
|
Test Case ID
|
1
|
|
Test Case Description
|
To verify User getting created with all the valid data input for registration page
|
|
Prerequisites
|
Registration page access
|
|
Test step Input
|
Open the registration page in browser
Fill the all the input data from test data
Enter the captcha details
Click on submit
|
|
Test Data
|
Name: - test surname:- yxd
Username:-test@test.com Password: -testing
Mobile no:-9999999999
Alternative mailed:-xyz@test.com
|
|
Expected Result
|
User should get created
User created successfully message should be display and welcome page should get open automatically
|
|
Actual Result
|
Write the actual result of test cases
|
|
Status
|
|
|
Remarks
|
This is a sample test case.
|
|
Created By
|
Abc
|
|
Date of Creation
|
|
|
Executed By
|
Xyz
|
|
Date of Execution
|
|
|
Test Environment
|
OS: Windows 10, Browser: Chrome
|
Thanks for providing the useful post on Test Analysis & Design . Now i have full knowledge on Test Case Fundamentals including Test Analysis & Design. Also i noticed softwaretestingboard for tutorials on software testing.
ReplyDelete