Sample Test Case Template In Excel Format Word
- Several standard fields of a sample Test Case template are listed below. Test case ID: Unique ID is required for each test case. Follow some convention to indicate the types of the test. For Example, ‘TCUI1' indicating ‘user interface test case #1'.
- Test cases format are more desirable in case if you are reviewing test case from experts. The template chosen for your project depends on your test policy. Many organizations create test cases in Microsoft Excel while some in Microsoft Word.
- Nstl.com The internal test case excel format template free download is a simple and normal looking sample test case template that stores the information on the test case, the purpose, the criteria, and overall result.
Test case templates and examples are very useful because using them you can save time and resources for the cover product by a large number of test cases. Test case formats vary by organisation. There are a lot of methods of the test case documentation, some of them: Example 1.
Sample Use Case
Use Case ID: | Enter a unique numeric identifier for the Use Case. e.g. UC-1.2.1 | ||
Use Case Name: | Enter a short name for the Use Case using an active verb phrase. e.g. Withdraw Cash | ||
Created By: | Last Updated By: | ||
Date Created: | Last Revision Date: | ||
Actors: | [An actor is a person or other entity external to the software system being specified who interacts with the system and performs use cases to accomplish tasks. Different actors often correspond to different user classes, or roles, identified from the customer community that will use the product. Name the actor that will be initiating this use case (primary) and any other actors who will participate in completing the use case (secondary).] | ||
Description: | [Provide a brief description of the reason for and outcome of this use case.] | ||
Trigger: | [Identify the event that initiates the use case. This could be an external business event or system event that causes the use case to begin, or it could be the first step in the normal flow.] | ||
Preconditions: | [List any activities that must take place, or any conditions that must be true, before the use case can be started. Number each pre-condition. e.g.
| ||
Postconditions: | [Describe the state of the system at the conclusion of the use case execution. Should include both minimal guarantees (what must happen even if the actor's goal is not achieved) and the success guarantees (what happens when the actor's goal is achieved. Number each post-condition. e.g.
| ||
Normal Flow: | [Provide a detailed description of the user actions and system responses that will take place during execution of the use case under normal, expected conditions. This dialog sequence will ultimately lead to accomplishing the goal stated in the use case name and description.
| ||
Alternative Flows: [Alternative Flow 1 – Not in Network] | [Document legitimate branches from the main flow to handle special conditions (also known as extensions). For each alternative flow reference the branching step number of the normal flow and the condition which must be true in order for this extension to be executed. e.g. Alternative flows in the Withdraw Cash transaction: 4a. In step 4 of the normal flow, if the customer is not in the bank network
4b. In step 4 of the normal flow, if the customer is not in the bank network
Note: Insert a new row for each distinctive alternative flow. ] | ||
Exceptions: | [Describe any anticipated error conditions that could occur during execution of the use case, and define how the system is to respond to those conditions. e.g. Exceptions to the Withdraw Case transaction
| ||
Includes: | [List any other use cases that are included ('called') by this use case. Common functionality that appears in multiple use cases can be split out into a separate use case that is included by the ones that need that common functionality. e.g. steps 1-4 in the normal flow would be required for all types of ATM transactions- a Use Case could be written for these steps and 'included' in all ATM Use Cases.] | ||
Frequency of Use: | [How often will this Use Case be executed. This information is primarily useful for designers. e.g. enter values such as 50 per hour, 200 per day, once a week, once a year, on demand etc.] | ||
Special Requirements: | [Identify any additional requirements, such as nonfunctional requirements, for the use case that may need to be addressed during design or implementation. These may include performance requirements or other quality attributes.] | ||
Assumptions: | [List any assumptions that were made in the analysis that led to accepting this use case into the product description and writing the use case description. e.g. For the Withdraw Cash Use Case, an assumption could be: | ||
Notes and Issues: | [List any additional comments about this use case or any remaining open issues or TBDs (To Be Determined) that must be resolved. e.g.
|
What is Test Case Template?
A Test Case Template is a well-designed document for developing and better understanding of the test case data for a particular test case scenario. A good Test Case template maintains test artifact consistency for the test team and makes it easy for all stakeholders to understand the test cases. Writing test case in a standard format lessen the test effort and the error rate. Test cases format are more desirable in case if you are reviewing test case from experts.
The template chosen for your project depends on your test policy. Many organizations create test cases in Microsoft Excel while some in Microsoft Word. Some even use test management tools like HP ALM to document their test cases.
Click Below to download Test Case XLS
Irrespective of the test case documentation method chosen, any good test case template must have the following fields
Test Case Field | Description |
---|---|
Test case ID: |
|
Test Priority: |
|
Name of the Module: |
|
Test Designed by: |
|
Date of test designed: |
|
Test Executed by: |
|
Date of the Test Execution: |
|
Name or Test Title: |
|
Description/Summary of Test: |
|
Pre-condition: |
|
Dependencies: |
|
Test Steps: |
|
Test Data: |
|
Expected Results: |
|
Post-Condition: |
|
Actual Result: |
|
Status (Fail/Pass): |
|
Notes: |
|
Optionally you can have the following fields depending on the project requirements
- Link / Defect ID: Include the link for Defect or determine the defect number if test status is fail
- Keywords / Test Type: To determine tests based on test types this field can be used. Eg: Usability, functional, business rules, etc.
- Requirements: Requirements for which this test case is being written
- References / Attachments: It is useful for complicated test scenarios, give the actual path of the document or diagram
- Automation ( Yes/No): To track automation status when test cases are automated
- Custom Fields: Fields particular your project being tested due to client/project requirements.
Test Case Template
See All Results For This Question
Click below to download Test Case Excel File
Sample Test Case Template In Excel Format
Click below to download Test Case Word File