หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา
- 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.
Configuring a Test Version
In CodeArts TestPlan, test cases are managed and evaluated by product baseline, branch version, and test plan. The service support efficient collaboration between teams, management and cross-version reuse of hundreds of millions of test assets, and concurrent R&D and delivery of multiple versions of complex products.
- Version: A version records the test data of a software version, including information about managing and executing test cases and suites, as well as quality reports.
- Relationship between version and test plan: A version contains multiple test plans (and one test case library).
- Baseline: A baseline is a special version that has been formally reviewed and is the basis for subsequent test activities. Cases in a baseline are generally stable and are test assets accumulated for a long time.
- Hierarchical management of test cases: Test cases can be managed by layer, that is, by product baseline library, version branch, and test plan. Test cases can be merged from a version to the baseline and imported from the baseline to a version, and case merging conflicts between versions can be managed. This meets the requirements of concurrent tests of multiple versions and collaborative tests by multiple persons, enabling test asset accumulation and reuse.
Creating a Version
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose Testing > Testing Case.
- Click
on the right of Baseline. The Version Management page is displayed.
- Click Additions.
- Enter a version name and click Save.
Editing a Version
On the Version Management page, move the cursor over the test version to be edited, click , and change the version name.
Deleting a Version
On the Version Management page, click in the Operation column of a version to delete it.
Viewing Test Case Changes
On the Version Management page, click in the Operation column of a version, and view the change history.
Managing Versions
Based on your test strategy, you can import the test cases from the baseline to a version, and merge the test cases in a version to the baseline.
- Importing Test Cases from Other Versions
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose Testing > Testing Case.
- Select a version from the version drop-down list in the upper left corner of the page.
- Click the Manual Test tab. In the right area of the tab page, choose Import > Import from Version.
NOTE:
If no test case available or you need to create a test case, click Create Case. For details, see Creating a Manual Test Case.
- In the displayed dialog box, select the test cases to be imported, select an overwriting rule, and click OK.
To select test cases in batches, move the cursor over the check box on the left of Name, and select Select Current Page or Select All Pages to select the test cases in the current page or in all pages.
Merging Test Cases in a Version into the Baseline (On Testing Case Page)
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose Testing > Testing Case.
- Select a version from the version drop-down list in the upper left corner of the page.
- Select a test type tab. In the right area of the tab page, click Merge into Baseline.
NOTE:
If no test case available or you need to create a test case, click Create Case.
- In the displayed dialog box, select the test cases to be merged, select an overwriting rule, and click OK.
To select test cases in batches, move the cursor over the check box on the left of Name, and select Select Current Page or Select All Pages to select the test cases in the current page or in all pages.
Merging All Test Cases in a Version into the Baseline (Through Version Management)
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose Testing > Testing Case.
- Click
on the right of Baseline. The Version Management page is displayed.
- Select the version whose cases you want to merge into the baseline, and click
in the Operation column.
- In the displayed dialog box, select a rule and click OK to merge test cases.
Measuring a Version
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose Testing > Quality Report. The Quality Report page is displayed.
- See the quality report of the version.
To view the quality reports of other versions or test plans, select the target version or test plan from the version or test plan drop-down list in the upper left corner of the page.
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