Create a test case
You can design an unlimited number of test cases per your project and execute them as many times as you need. There are several options to create a test case:
Via add button at the header of your project
Via '+Test case' button from the list view

From the any item page.

From the section or subsection.

Click the button ‘Add’
Choose ‘Test case’ from a dropdown
Give it a title.
Choose the section or subsection

You can click ‘Save&Open’ and navigate to the created test case or you can press ‘Save&Next’ and add as many test cases as needed by providing just a title. The last option might come in handy when you need to add a couple of test cases in a row and want to modify them later.

Precondition:
Precondition is an essential part of the test case and must be fulfilled to start the test execution. These might be:
Set up of the testing environment;
OS
Browser (type and version)
Test data
Device
Etc.
You can format the text with a rich editor, add links and images to the precondition. Test steps: When you design a test case, you need to add the test steps which are the set of instructions that a QA needs to perform in order to check if the expected behaviour of the tested system meets the criteria of acceptance or not. To add a test step:
Click ‘Add a test step’.
- Give test step a title. - Add step instructions. - Add expected result. Like a precondition, the test steps can be edited with our rich editor. All inserted images will be automatically added to the ‘Attachments’. _**Note: **__if you delete an image from the attachments, it will be removed from the precondition or test step as well. _ **To save time you can:** - duplicate a test step by clicking the 3-dot menu next to the test step; - delete a test step if it’s not relevant anymore;
- drag and drop test steps if you need to change the sequence of test steps.
Stay focused on those test steps that matter to you at this point with just one click. If there are many test steps or they are quite lengthy, you can expand/collapse either the series of test steps or particular test steps by clicking on the icon.
**Attachments:**
Besides adding the images to the preconditions and test steps, you can upload them from your computer as separate media files to the test case item by clicking the button ‘Attachments’. **Here are the supported formats for the images:** .jpg, . jpeg, .jfif, .png, .gif, .apng In addition, you can also upload other types of files: .mov .mp4 .wmv .avi .zip .csv .ppt _**Note**__: while you can preview images and gifs inside Drivt app, to watch a video or other types of attachments, you need to download them to your computer._ The limit for the file upload currently is 5 MB per attachment, but the is no limit to the number of uploaded files. **Stages and tasks** On the right side, you can find the block with the stages and tasks. They are added by default when the test case is created. The main purpose of the tasks is to help you organize the process of test case design and execution. With the help of them, you can keep the work progress on track and take immediate action if something doesn’t go as planned. More about the tasks you can find in our article. **Dependencies** Dependencies allow you to connect test cases together or show the test coverage of a linked requirement or defect. To add a dependency, click on the ‘Depencies’ button. When the modal appears, choose the defects or requirements you want to link. When you connect a test case to the requirement or defect, on the list view of the requirements/defects you will find that status of the item is changed from ‘Not covered’ to ‘Not executed’
Once you execute the test case, the status will be changed to the status of the test case execution.
Or if there are multiple test cases, all test execution statuses will be displayed on the progress bar. You can view the details on a hover.
Last updated
Was this helpful?