Test Cases
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.
Where Test Cases Fit in the Test Case Library
Test cases are stored in the Test Case Library, which is organized in a hierarchical structure.
Create a Test Case
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.
Create a Test Case Manually in the Test Case Library
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.
Next Step: Complete the Test Case in 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.
Copy a Test Case Link
You can share a direct link to a test case.
Steps
Right-click the test case
Click Copy Link
The link will be copied to your clipboard and can be shared with other users.
Delete a Test Case
Deleting a test case permanently removes it from the Test Case Library.
Steps
Right-click the test case
Click Delete
Confirm the deletion in the confirmation dialog
Last updated

