Return to site

Sample Test Case Template In Excel Format

broken image



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.


  1. Customer has active deposit account with ATM privileges

  2. Customer has an activated ATM card.]

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.


  1. Customer receives cash

  2. Customer account balance is reduced by the amount of the withdrawal and transaction fees]

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.


  1. Customer inserts ATM card

  2. Customer enters PIN

  3. System prompts customer to enter language performance English or Spanish

  4. System validates if customer is in the bank network

  5. System prompts user to select transaction type

  6. Customer selects Withdrawal From Checking

  7. System prompts user to enter withdrawal amount

  8. System ejects ATM card]

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

  1. System will prompt customer to accept network fee

  2. Customer accepts

  3. Use Case resumes on step 5


4b. In step 4 of the normal flow, if the customer is not in the bank network

  1. System will prompt customer to accept network fee

  2. Customer declines

  3. Transaction is terminated

  4. Use Case resumes on step 9 of normal flow


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


2a. In step 2 of the normal flow, if the customer enters and invalid PIN

  1. Transaction is disapproved

  2. Message to customer to re-enter PIN

  3. Customer enters correct PIN

  4. Use Case resumes on step 3 of normal flow]

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:
The Bank Customer understands either English or Spanish language.]

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.


  1. What is the maximum size of the PIN that a use can have?]


Sample test case template in excel format excel


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 FieldDescription
Test case ID:
  • Each test case should be represented by a unique ID. To indicate test types follow some convention like 'TC_UI_1' indicating 'User Interface Test Case#1.'
Test Priority:
    • Low
    • Medium
    • High
Name of the Module:
  • Determine the name of the main module or sub-module being tested
Test Designed by:
  • Tester's Name
Date of test designed:
  • Date when test was designed
Test Executed by:
  • Who executed the test- tester
Date of the Test Execution:
  • Date when test needs to be executed
Name or Test Title:
  • Title of the test case
Description/Summary of Test:
  • Determine the summary or test purpose in brief
Pre-condition:
  • Any requirement that needs to be done before execution of this test case. To execute this test case list all pre-conditions
Dependencies:
  • Determine any dependencies on test requirements or other test cases
Test Steps:
  • Mention all the test steps in detail and write in the order in which it requires to be executed. While writing test steps ensure that you provide as much detail as you can
Test Data:
  • Use of test data as an input for the test case. Deliver different data sets with precise values to be used as an input
Expected Results:
  • Mention the expected result including error or message that should appear on screen
Post-Condition:
  • What would be the state of the system after running the test case?
Actual Result:
  • After test execution, actual test result should be filled
Status (Fail/Pass):
  • Mark this field as failed, if actual result is not as per the estimated result
Notes:
  • If there are some special condition which is left in above field

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





broken image