A significant benefit of CXTM, and associated service offers, is the "pre-built" automation included. In addition to the extensive
list of keywords and parsers included in the CXTA collection of libraries, CXTM also offers libraries of pre-built automated
test cases that can be imported into projects in a similar way to how you imported test cases into your own project in this lab.
These test cases are intended to serve as building blocks to accelerate automation development.
Once a Topology file has been defined, you should only need to add the variables specific to your test environment to make use of these
automated test cases. In the following steps, you'll modify the pre-built automated test cases you imported from the Template project
earlier in the lab.
Step 1 - Verify BGP Neighbor State on IOS-XE via CLI
From your project's Test Cases page:
Locate the test case Verify BGP Neighbor State on IOS-XE via CLI that has identifier 2.04
For this test case's row, click on the Yes link under the Job File? column
Examine the Job File in the Job File preview pane
Click on the pencil icon in the Job File preview pane
Use the parameters below and insert them into the Parameter File section of your Job File.
Warning
NOTE: You may need to scroll down to see the Parameter File section.
DEVICES:
- CSR1Kv-01
EXPECTED_STATE: Established
Scroll back up to the top of the Job File page and click Save
Step 2 - Verify BGP Neighbor State on NX-OS via REST
From your test case Job File page:
Navigate back to your project home by clicking on the Project LTROPS-2711 tab in the navigation
breadcrumbs.
Click on VIEW TEST CASES
Locate the test case Verify BGP Neighbor State on NX-OS via REST that has identifier 2.05
For this test case's row, click on the Yes link under the Job File? column
Examine the Job File in the Job File preview pane
Click on the pencil icon in the Job File preview pane
Use the parameters below and insert them into the Parameter File section of your Job File.
Warning
NOTE: You may need to scroll down to see the Parameter File section.
DEVICE: N9Kv-01
EXPECTED_STATE: Established
Scroll back up to the top of the Job File page and click Save
Step 3 - Navigate to your project's Job Files page
Return to the sidebar.
Scroll down until you locate the heading Test Cases
Under Test Cases, click Job Files
Step 4 - Launch the Edit Job Files wizard
From your project's Job Files page:
Click on the Select all visible Job Files icon to select all Job Files
Confirm that all Job Files have been selected
Click on the pencil icon to Edit the Selected Job Files
Step 5 - Change Default Topology
From the Edit Job Files wizard:
Check the Change Default Topology checkbox
From the Default Topology dropdown, select LTROPS-2711 Topology
Click SUBMIT
Step 6 - Return to Test Cases Page
From your project's Job Files page:
Navigate back to your project home by clicking on the Project LTROPS-2711 tab in the navigation
breadcrumbs.
Click on VIEW TEST CASES
Continue to the next section to add your test cases to separate execution queues to take advantage of parallel execution of the test cases.