Test Cases: The building blocks of testing
Learn how you can create projects and test cases in BrowserStack Test Management.
Test cases are the fundamental units of testing within a project. A test case describes a specific scenario to be tested, including the steps to execute, the expected outcomes, and the criteria for success. Managing test cases involves creating, editing, deleting, copying, moving, and exporting them as needed. Effective test case management ensures that all possible scenarios are covered, reducing the risk of defects slipping through the cracks.
Test cases can also be filtered based on various criteria, allowing you to focus on particular aspects of the application. Additionally, shared steps across test cases help maintain consistency and reduce redundancy, making it easier to manage large numbers of test cases.
Create Test Case from Test Management
To create a Test Case:
Click Create Test Case.
Enter a Test Case Name and fill other mandatory details such as State, Owner, Priority, Type of Test Case, and Automation Status.
You can also define Tags and add Attachments.
Use the Requirements field to link Jira issue, and/or Azure work items and establish traceability for test case requirements.
Choose a template type based on the following criteria.
-
Steps to define multiple steps and expected results for every step.
-
Text to define a test case step in general text or paragraphs with an optional precondition.
Click Create.
Use the Defects field in the test run result to add Jira issue and/or Azure work items where the bugs are documented.
You can also add a Test Case if the folder or project is new, enter the Test Case name and click Add. It adds the test case to the folder.
Import Projects and Test Cases
Alternatively, you can quickly import your projects from TestRail or Zephyr Scale. Also, you can import data using a .csv
file into an existing project.
Viewing Test Case count in nested folders
Default view on the Test Cases page
Each folder displays two key metrics, X(Y):
- Immediate Test Case count (X): This is the number of Test Cases directly within the folder, not including those in subfolders.
- Cumulative Test Case count (Y): This is the total number of all Test Cases within the folder, including those nested in all subfolders.
The folder structure is typically hierarchical, with subfolders indented under parent folders. Each folder displays immediate and cumulative counts, providing insight into local and total Test Case numbers.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!