Preface: After studying the basics of CAPL, you can basically write some simple test cases, but the reusability of test cases is not very high.
Let's introduce a method that can improve the reusability of test cases. Some of the following methods are based on the knowledge in the basic chapter. If you are not very clear about the relevant content, you can look back at the corresponding chapters in the basic chapter.
First open Test--->Test Setup
Right click to create a new test environment
Insert an Xml test module under the corresponding node
Right-click the newly created Xml Test Module and configure this Module
First create a new Xml or vxt
Select the CAN file to be used by the Xml Test Node
Double-click to open the Test Module. Later test cases are modified and called in this interface.