Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.
- 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.
Executing a Test Suite
In the test execution stage, the test suite is executed to check whether the tested system meets the expected result, record the test result, and detect product problems and defects, helping R&D engineers analyze and locate problems.
Prerequisites
A test suite has been created.
Executing a Manual Test Suite
- 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 Execution. Test case library is displayed by default.
- Click
next to Test case library and select a test plan.
- On the Manual Test tab page, locate the test suite to be executed and click
in the Operation column.
- On the page for executing the manual test suite, set the step result, description, and case result. (You can switch cases in the suite and repeat this step until all cases in the manual test suite are executed.)
- Set the manual test suite result and click Save in the upper right corner.
NOTE:
Set the case result or switch the case to automatically save the result. If you modify the step result, description, or case execution remarks after saving the case result, click
to save the modification.
- After the execution is complete, you can view the execution result in the execution history column of the test case list.
Executing a Manual Test Suite with Parameters
Manual test suites can be executed with parameters.
- In the test suite list, click
in the Operation column and select Specify Parameter to Execute.
- In the displayed dialog box, enter the version number and click Execute. The execution page is displayed.
- In the drop-down list under the version, set the actual test suite execution result. Enter an actual result, and click Save.
- Click the corresponding suite and click the execution history tab to query the execution result.
Executing Manual Test Suites in Batches
- In the test suite list, click
in the Operation column and select Batch Execution.
- Select the test cases to be executed and click Batch Set Results.
- In the dialog box that is displayed, set the test case status and result.
- Click OK.
Executing an Automated API Test Suite
- 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 Execution. Test case library is displayed by default.
- Click
next to Test case library and select a test plan.
- Locate the test suite to be executed and click
in the Operation column to start automatic execution. After the execution is complete, you can view the execution result in the execution history column.
To stop the suite, click
in the Operation column.
- In the test suite list, click
in the Operation column. On the execution history tab page that is displayed, you can view the historical execution details of test cases executed by the test suite.
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