- What's New
- Function Overview
- Service Overview
- Getting Started
-
User Guide
- Working with CodeArts TestPlan
- Enabling CodeArts TestPlan
- Accessing CodeArts TestPlan Homepage
- Configuring a Test Plan
- Configuring a Test Version
-
Configuring a Test Case
- Generating a Test Case
- Creating a Test Case by Using Mind Map
- Creating a Manual Test Case
-
Creating an Automated API Test Case
- Using Automated API Test Cases
- Creating an Automated API Test Case Template
- Adding an API Test Script by Using a Custom URL Request
- Adding an API Script by Importing a Postman File
- Adding an API Script by cURL
- Adding an API Script by Keyword Library
- Adding Logic Control to an API Script
- Setting Test Case Parameters of an API Script
- Setting Environment Parameters of an API Script
- Importing an Automated API Test Case Dataset
-
Built-in Functions
- Binary Addition Function
- Binary Subtraction Function
- Binary Multiplication Operation
- Binary Division Operation
- Obtaining the Current Timestamp
- Obtaining a Specified Timestamp
- Converting a Date into a Timestamp
- Converting a Timestamp into a Date
- Timestamp Addition and Subtraction Operations
- Generating Base64 Encoding
- Generating SHA512 Encoding
- Generating SHA256 Encoding
- Generating an MD5 Hash Value
- Generating a Random Number in a Specified Range
- Generating a Random String of a Specified Length
- Generating a Random Decimal in a Specified Range
- Generating a UUID
- Obtaining an Array via Reverse Index
- Obtaining the Element Values of an Array via Reverse Index
- Converting Uppercase Letters into Lowercase Letters
- Converting Lowercase Letters into Uppercase Letters
- Concatenating Strings
- Cutting Strings
- Obtaining String Length
-
System Keywords
- Overview
- GetIAMToken
- MySQLQuery
- MySQLUpdate
- MySQLInsert
- MySQLDelete
- OpenGaussQuery
- OpenGaussUpdate
- OpenGaussInsert
- OpenGaussDelete
- PostgreSQLQuery
- PostgreSQLUpdate
- PostgreSQLInsert
- PostgreSQLDelete
- MongoDBQuery
- MongoDBInsert
- MongoDBUpdate
- MongoDBDelete
- RedisGet
- RedisSet
- OBSWrite
- OBSDelete
- OBSQuery
- KafkaProducer
- KafkaConsumer
- TCP
- UDP
- WSConnect
- WSRequest
- WSWriteOnly
- WSReadOnly
- WSDisConnect
- DubboClient
- Executing a Test Case
- Managing Test Cases
- Creating and Executing a Test Suite
- Viewing and Evaluating Test Quality
- Settings
- API Reference
- Best Practices
-
FAQs
- What Do I Do If No Test Case Exists in a Test Suite?
- What Can I Do If I Do Not Have the Operation Permission?
- Why Am I See a Message Indicating that an API Automation Test Suite Is Being Executed or Queuing?
- What Do I Do If a Test Suite Does Not Exist?
- Why Can't I Download the Document in a Manual Test Case?
- What Do I Do If No Test Case Exists In a Test Plan
- Why Can't I Add Work Items of the Task Type When a Test Plan Is Created or Updated?
- What Do I Do If Test Cases Cannot Be Associated with Work Items of the Task Type?
- What Do I Do If the Test Case Completion Rate in the Test Report Is Lower Than 100%?
- Why Is the Status of Test Cases in a Test Plan Inconsistent with That in a Test Case Library?
- How Are Variables Passed Between Steps in API Automation Cases?
- How Do I Set Checkpoints for Test Procedures in API Automation Cases?
- Videos
- General Reference
Copied.
Designing Test Cases on Mind Map
CodeArts TestPlan provides a test design feature that offers multi-dimensional heuristic test strategies and design templates. Testers can break down test requirements into scenarios, test points, and test cases. In this way, we hope to inspire testers to design tests creatively, visualize their ideas, and improve test coverage. This feature enables continuous optimization of test completeness, and helps testers reduce product test omissions during execution.
The purpose of test design is to clarify the scope, objectives, and methods of test activities, guide the implementation of test activities, and standardize test behaviors.
With the help of mind map, you can perform heuristic and visual test design.
Designing a Mind Map Based on a Requirement
In CodeArts TestPlan, you can create a mind map for a requirement, break down test scenarios, analyze test points, and output test plans and test cases based on the requirement.
- Search for your target project and click the name to access the project.
- In the navigation pane, choose Testing > Testing Design.
- Click Requirements on the left of the page. By default, all associated requirements of the project belong to this Requirements directory.
To associate a project with requirements, see Creating a Work Item.
- In the search box under Requirements, enter a keyword of the target requirement and click
. The target requirement is displayed in the requirement directory.
- Click Requirements on the left, select a requirement, and click Create or Templates in the upper left corner.
- The mind map design page is displayed. Go to Creating a Mind Map and Generating a Test Case.
Designing a Mind Map Based on a Feature
With the test design function, you can create a mind map for a feature, break down test scenarios, analyze test points, and output test plans and test cases based on the feature.
- Log in to the CodeArts homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose Testing > Testing Design.
- Click Features. In the search box under it, enter a keyword of the target feature and click
.
- Select a feature and click Create or Templates.
- The mind map design page is displayed. Go to Creating a Mind Map and Generating a Test Case.
Moving a Mind Map to Change Its Test Design Feature
- In the test design list, move the cursor to the check box of a mind map.
is displayed on the left of the check box. Drag the mind map to the required feature in the Features directory on the left. The feature that the mind map is designed for is changed.
- The mind map is displayed in the directory of the required feature.
To move mind maps in batches, select multiple or all mind maps, click Batch Change Feature. In the dialog box that is displayed, select the target directory, and click Confirm.
NOTE:
Mind maps cannot be moved to other requirements in the Requirements directory.
Associating a Test Case with a Requirement
To associate test cases designed and archived through the feature directory with requirements, perform the following steps:
- Go to the mind map designed based on a feature.
- Find a test case that has been archived and needs to be associated with a requirement, and click
.
- On the right of the page, click Associated Requirement. In the dialog box that is displayed, select the target requirement, and click OK.
- Click Save in the upper right corner.
- In the navigation pane, choose Testing > Testing Case. On the page that is displayed, find the test case. The value in the Associated Requirement column is Associated.
If the Associated Requirement column does not exist in the list, click the gear icon in the upper right corner, select Associated Requirement, and click Save.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot