- Introduction
- CXTM Basics
- CXTM Projects
- CXTM Test Cases
- CXTM Test Automation
- Revisit Imported Test Cases
- CXTM Batches
- CXTM Notifications
- NetDevOps
- CXTM Reporting
- CXTM References
- Bonus: Project Users
- Bonus: CXTM REST API
- Bonus: Secret Env Variables
CXTM Test Cases
Test Cases allow you to break down the desired outcome of the project into bite-sized tasks. Each test case has data
associated with it to help users organize and execute the test cases according to the project requirements.
There are many ways to add test cases to a project. For example, test cases can be imported from CSV templates, imported
from other CXTM projects, cloned/copied from test cases within the project, imported through CXTM's API, or created manually.
To get acquainted with test cases in CXTM, you will create your first one manually.
Step 1 - Navigate to Test Cases
From your CXTM project's Home page:
-
Click on the VIEW TEST CASES button
Test Cases can have user-defined attributes allowing for an infinite number of options when organizing and
displaying your test cases. We will explore that more in the next section. But before moving on,
notice how the navigation breadcrumbs have now changed at the top of the page. Remember to use this tool and your menu
sidebar to easily navigate through the CXTM GUI.
Step 2 - Launch the Add Test Case Wizard
From your Test Cases view:
-
Click on the green + button
Step 3 - Populate Add Test Case fields & Expand Wizard
In the Add Test Case wizard, populate the fields with the following information:
- Title:
Verify Software Version on Devices
- Identifier:
1.01
- Phase:
1
- Click Show more fields
Step 4 - Populate Test Case Description & Setup
In the expanded Add Test Case wizard, populate the fields with the following information:
-
Scroll down so that your wizard view shows Suite, Description, and Setup
-
Suite:
System
-
Description:
Verify devices are running the expected software version.
-
Setup:
The devices under test are configured according to the design documentation.
Step 5 - Populate Test Case Procedure & Pass/Fail Criteria
In the expanded Add Test Case wizard, populate the fields with the following information:
-
Scroll down so that your wizard view shows Procedure and Pass/Fail Criteria
-
Procedure:
1. Connect to devices
2. Verify running software versions are as expected
-
Pass/Fail Criteria:
Fail if any device is not running the expected software.
-
Click SUBMIT
Step 6 - Confirm Test Case Created
From the Test Cases page:
- Confirm that the test case was added to the project
Continue to the next section to import additional test cases that you will use throughout this lab to develop test automation, and use in a pipeline.