TestRail is a web-based test case management tool. It is used by testers, developers, and team leaders to manage, track, and organize software testing efforts. TestRail allows team members to enter test cases, organize test suites, execute test runs, and track their results from a modern and easy-to-use web interface. This article will show the different ways of adding test cases to TestRail.
Adding test cases one by one
To create test cases one by one within any project, you can follow the steps below:
- In your project, click on the Test Cases tab.
- Click on the Add Test Case button.
- Now fill in the details related to the test case in the Add Test Case screen. Here you can specify details such as Title, Preconditions, Steps, Priority, Status, Estimate, etc.
This way of adding a test case is practical when you want to add the Title of the test case along with other details, such as Preconditions and Steps.
Adding test cases with a quick outline
To quickly outline your test cases, you can follow the steps below:
- In your project, click on the Test Cases tab.
- On the test cases repository page, you can quickly add one or more test cases without filling all test case fields by clicking the Add Case link at the bottom left of each section, as shown in the screenshot below.
- Enter some text to use as Case Title and click on the green icon or simply press enter, as shown in the screenshot below.
This helps you quickly outline your testing scenarios and get a good overview of the overall test case landscape without slowing down to add all test details simultaneously.
Other methods for adding test cases
- The TestRail API is a powerful mechanism to automate interaction with multiple test entities. It is possible to create a new test case, for example, from your automated test suite, via the add_case endpoint.
-
In case you have test cases already designed in a different tool (e.g., an Excel spreadsheet), you can use a CSV or XML file format to import those test cases to TestRail. You can know more about how to use the import functionalities by looking at the articles below: