HomeUser GuideTest Suites and Test Cases ManagementTest Cases Management

5.5. Test Cases Management

Add a Test Case

In this article we are going to cover the main entity around which the entire test case management tool is designed and working.

The main constituents of a test case are its steps which should be clearly defined. Once its steps have been defined, expected outcome also needs to be ascertained.

In order for test execution to be analyzed, the steps and result should be clearly defined.

Test cases can be independent, which means having least or no coupling with other test cases, or they can be cascading where the outcome of one test case becomes pre-condition for other test case.

When an authorized user has opted to add a test case, then a form to enter new test case information will be shown.


User can provide information like 

All the information collectively helps the tester to map out, how a part of a process should behave when executed.

Here Suite, Title, and Priority of test case are mandatory fields.

If at the time of adding the project "Separate text fields for steps and expected results" is enabled, then at the time of defining the test cases, instead of a single text field for all steps, separate text fields will be made available for entering individual test steps and their respective expected results, as shown in image below.

User has an option to add as many steps as he wants by clicking Add more steps link provided. User can also delete the steps using the Cross button. 

Reordering Steps

With version 1.16 of Test Collab comes the feature of ordering the steps. One can now drag and drop a step along with its expected result from one position to the other in steps list. 


Please note that the feature of reordering of steps would not work when HTML Editor is used as Editor Type for test case steps, expected result and description. 

Edit a Test Case

When an authorized user opts to edit a test case, then a form similar to add new test case will be shown and user can update any of the information he may wish to.

For user's convenience, the test case edit page now has navigation links to help switch to the previous or next test case in the sequence in which they have been placed on suites tree. 

Test Cases Versioning

As of July 2014, with the latest release, Test Collab now supports Test Case versioning, i.e. individual update in test case's data will be recorded separately as a revision.

User will have the option to see the change log wherein he can see the list of the changes a test case has been through since the test case was first created.

User can see an individual revision's details, also has an option to revert to a previous revision.

While editing editor has an option to provide notes pertaining to the changes he has done in the test case, for his or viewer's convenience.


Copy Test Cases

To avoid repetition of data entry efforts, as an option a user can create a copy of selected test case into the same suite, and use the case if little or no modifications are required.

User can copy a test case by simply selecting Copy option from the context menu shown when a test case selected on suites' dashboard, or by clicking on Duplicate icon on the test case details view pane.



Import Test Cases

This feature helps the user import test cases, from

This helps in creating reusable cases, and saves creation and management time for cases that have already been defined. 

The CSV to be used for importing the cases must follow a structure and some basic rules that are also related to test case creation. 

First of all make sure that the file you are using for import has the same syntax (Markdown / HTML / Plain text) as the one being used for your Test Collab's instance. 

Secondly check the size of file that is being uploaded, as the upload limit depends on the PHP settings done on your hosting server. 

The CSV can contain the data for following columns 

As they are all part of a test case defined in the application.

Off these, only Title and Priority are mandatory.

For Priority, the allowed values are 

To separate 2 steps under steps column leave a gap of a line between them.

In Test Collab, while creating a project you get an option to keep test case steps in single text field; or to have separate text fields for them so that expected results can also be maintained individually, two sample CSV files have been attached with document and these can be referred to create test cases that can then be imported into the application. 

When Import menu under Test Suites & Cases tab is used then an authorized user gets the options as shown below:

Opting to import the test cases from a CSV, a form like this will be shown:



On the form user will see: 

A test suite selector lists the test suites that exist under the selected project, typing in the suites' selector box shows up the names of suites that match the criteria entered. 

As an option one can click on the "Select from tree" icon, this will show up the suites' list to select suites from the tree.


User will be required to select the suite for which he wants the cases to be imported. Empty suites will also appear in the list, to enable the user to import data for them.

Once suite is selected and file to upload has been chosen, user can proceed by clicking import button.

Next screen will allow the user to select the field used in Test Collab individually that maps to a CSV column (name shown as label for drop down).

When all mandatory fields (for a test case) have been mapped, then a process to merge the data from CSV into the test suite will start. If there are any issues while import then the same will be reported on screen. 

Please note that all the test cases present in CSV used will be imported under a single (selected) test suite. 

Knowledge Tags


This page was: Helpful | Not Helpful
Test Case Management
Test Collab Support
Product Tour