- 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
Show all
Copied.
What Is CodeArts TestPlan
Overview
CodeArts TestPlan is a one-stop test management platform developed by Huawei, covering the entire process of test plan, test design, test cases, test execution, and test evaluation. The platform originates from Huawei's years of high-quality software test engineering methodologies and practices, and aims to help enterprises with collaborative, efficient, and trustworthy test activities before product release.
- Test design
Heuristic test design is performed based on mind maps to visualize a four-layer test design method. Test scenarios are split based on requirements, test points are split based on scenarios, draft test cases are generated based on test points and archived as test cases, and finally an overall test scheme is output.
- Test management
Test management incorporates concepts such as full-lifecycle tracing, multi-role collaboration, agile tests, and requirement-driven tests. It enables one-stop management of test requirement management, task assignment and execution, progress management, coverage management, result management, defect management, test reports and dashboard. Test management can be tailored for different teams and processes, supporting product quality evaluation from multiple perspectives, efficient test activity management, and quality product delivery.
- Auto API test
The auto API test function allows you to quickly orchestrate API automation test cases based on the API script template generated with API URLs or Swagger files. It integrates pipelines and supports microservice tests. No code compiling is required for test cases. The technical barrier is low. Different roles such as API developers, API consumers, test personnel, and service personnel can run tests with ease. You can import a swagger API definition in a few clicks to automatically generate a script template, based on which you can orchestrate and manage automated test cases of APIs. API test supports HTTP and HTTPS, a visualized case editing interface, various preset check points and built-in variables, customized variables, parameter transfer, and continuous automated testing.
Key Features
- Case management
Manual test cases and API automation test cases are designed in a unified manner. Test case classification, prerequisites, procedure, and expected results are provided to guide test case design.
- Test suite management
Suite management assembles manual test suites or API automation test suites based on test cases. A test suite is used to manage a group of test cases. Generally, a test suite can be used to perform multiple rounds or iterative regression tests. You can create a manual test case suite or API automation test suite based on the test case type.
- API automation test cases
API automation test cases simulate an HTTP client to establish a session with the server and send a request to the target API or web page to complete the API function test. An API test case contains a series of test requests, test check points, and test logic.
NOTE:
By default, only APIs that can be accessed from the public network can be tested. For details about the enterprise intranet API test solution, contact the customer service.
- Manual test case execution and results setting
You can set results step by step or in batches, apply the last execution result in one-click mode, and add screenshots to the result. Reproduction procedure can be automatically filled in during defect creation.
- API automation test case execution and execution history
- Case execution: Test cases can be executed in parallel or serial mode or in the pipeline. Quality gate can be configured.
- Execution history: Each execution result and logs are recorded in detail.
- Quality report
You can view the requirement coverage, defect distribution, case pass rate, and case completion rate. You can also customize reports.
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