Test Cases
Last updated
A Test Case is the core testing unit in TestFirst. It describes how a specific feature or behavior should be tested.
A test case typically includes:
Precondition – conditions that must be met before the test starts
Action / Steps – the steps required to perform the test
Expected Result – the expected outcome after performing the actions
Test cases can be automated using the Recorder or written manually.
Test cases are stored in the Test Case Library, which is organized in a hierarchical structure.
Test cases can be created at any level of the library tree.
Test cases can be created in multiple ways in TestFirst.
They can be:
Generated automatically when using Test Scopes
Created manually in the Test Case Library
Created from the Mini Test Case Library inside the Test Case Editor
This section explains how to create a test case manually in the Test Case Library.
To create a test case, the user must have: Create/Edit permission for Test Case
See Roles and Permissions for more information.
Open Test Case Library.
Locate the node where you want to create the test case. A test case can be created under any level of the library tree: Test Project/ Suite/ Section/ Subsection
Right-click the node.
Click Add Test Case.
The Add Test Case dialog will appear.
Enter the Test Case Title.
Click Create.
The test case will be created and can then be opened in the Test Case Editor.
After creating a test case, you should open it in the Test Case Editor to define the test logic.
In the editor, you can:
Automate the test using the Recorder
Write test steps using Gherkin
Create manual test steps
See Test Case Editor for more details.
You can share a direct link to a test case.
Right-click the test case
Click Copy Link
The link will be copied to your clipboard and can be shared with other users.
Deleting a test case permanently removes it from the Test Case Library.
Right-click the test case
Click Delete
Confirm the deletion in the confirmation dialog
Warning
Deleted test cases cannot be restored.
If the test case is referenced in a Test Scope, it will no longer appear there.
Last updated

