A test case is a specification of the inputs, execution conditions, testing procedure, and expected results that define a single test to be executed to achieve a particular software testing objective, such as to exercise a particular program path or to verify compliance with a specific requirement. In Testsigma, A Test Case consists of a set of Test Steps.


Creating Test Cases using Testsigma


We can create a Test Case by two methods as given below:


First Method


If you are trying out Testsigma for the first time, for your convenience, we have already created a Sample Project named Testsigma with all the required details. You can start creating test cases for the pre-created Project by following the steps given below:


In the Homepage, click on the Add New icon on the top left corner. From the overlay menu that appears, select Test Case.



Create Test Case Dialog page opens up.


Note: The Application, Version, and Requirement fields are auto-configured by the wizard for the sample project Testsigma. You may modify it if you prefer.

Please refer to the following article for a detailed guide on the hierarchy of a project in Testsigma - Sample Project Hierarchy in Testsigma


More details on creating a test case are given below in the Create Test Case section.


Second Method


This option is for experienced users who are familiar with the Testsigma Project hierarchy and are familiar with navigation around the tool.

Check this article for a detailed guide to creating and managing a new Application - How to Create/Edit/Delete Application?

Check this article for a detailed guide to creating and managing a new Version - How to Create/Edit/Delete Version?


Assuming that you have already created Applications and Versions,


1. From the Navigation pane on the left, click on Test Development icon to open the Test Cases page for the currently selected Project > Application > Version.


2. In the Test Cases page, click '+ Test Case' button on the top right corner to open the Create Test Case page.




More details on creating a test case are given below in the Create Test Case section.



Create Test Case


The Create Test Case page would appear as given below:



Please click on the Take me to a detailed form link to show additional options as shown below:



Enter the details as given below:


Select Test Case Type

  • Automated
  • Manual


Name/ Title (Required): Enter a title for the Test Case.


Description: Enter a meaningful description for this Test Case elaborating about it. You can add more details in the attachments section at the end of this form.


Requirement (Required): Select the previously added requirement under which you want to add this particular Test Case.


Assignee: Select the user (testing team member) to whom you want to assign this Test Case to.

Please refer this help document for a detailed guide on assigning users to a project.


Priority (Required): Select the priority level that you want to set for this Test Case.

  • Critical – Highest Priority
  • Major – Test Case for a major feature
  • Medium – Medium Priority
  • Minor – Test Case for a minor feature

 

Type (Required): Select the test method type that needs to be gratified using this Test Case.

  • Unit Test
  • Integration
  • Functional
  • Non functional
  • User Experience

 

Status (Required): Select the appropriate status for the Test Case.

  • Draft – Test Case is in an abstract mode.
  • Review- Test Case is under inspection.
  • Ready- Test Case is active and ready to be executed.
  • Obsolete- Test Case is no longer valid.
  • Needs to be updated – Test Case needs to be modified to be valid.

Note: Test Cases in a ready state only will be available for execution.


Prerequisite (Required): Select another Test Case as a prerequisite for this Test Case. This will help you to save execution time if a prerequisite condition is not met.


Test Data Profile: Select the Test Data profile to be used in the Test Case. This is required only if you are going to use parameter type test data in your Test Steps.
Please refer this help document for a detailed guide on parameter type test data.


Data Driven (toggle): Enable this if you want to run the same tests with multiple data input sets. You will need to add Test Data Profile before enabling this option.

Please refer this help document for a detailed guide on adding a data-driven Test Case.


After entering all the required details, we can click on the Create button to create the Test Case. We will be taken to the Test Cases details page and we can add Test Steps to the Test Case there.




Please refer this article for a detailed overview of creating Test Steps - How to add/edit/delete automated Test Step?

 

 

Edit Test Case


First of all, go to the Test Cases page if you are not already there. Skip to 3rd step if you are already on the Test Cases page.


1. Click on the Application icon on the left navigation pane to reach the Applications page.


2. Select the required Application from the list on Applications menu and select the required Version in the Versions section.


3. We will be taken to the Test Cases page and click on the Edit button next to the Test Case to be edited.


4. Edit Test Case page would appear as given in below image:




5. Make the required changes and click on Update button to confirm the changes.

 

 

Delete Test Case


First of all, go to the Test Cases page if you are not already there. You can skip to 3rd step if you are already on the Test Cases page.


1. Click on the Application icon on the left navigation pane to reach the Applications page.


2. Select the required Application from the list on Applications menu and select the required Version in the Versions section.


3. We will be taken to the Test Cases page. Click on the Delete button next to the Test Case to be deleted.



A Dialog box will open up specifying the number of test steps under the test case asking to confirm your choice of deleting the Test Case. Select the checkbox and click on Delete button to confirm the deletion.