Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.
- Service Overview
- Getting Started
-
User Guide
- Service Entries
- Testing Plan
- Testing Design
- Testing Management
-
Testing Case
- Introduction
- Test Case Library
- Manual Test Cases
-
API Automation Test Cases
- Creating an API Automation Test Case
- Writing an API Automation Script
- Keyword Library
- API Keywords
- Combined Keywords
- Importing cURL to Generate Test Scripts
- Setting an API Request
- Setting a Test Checkpoint
- Setting Response Extraction
- Importing a Postman File
- Inserting Logic Control
- Setting Test Case Parameters
- Setting Environment Parameters
- Importing an API Automation Case
- Executing an API Automation Test Case
- Custom Automation Test Cases
-
Advanced Configurations of API Automation
-
Built-in Functions
- Binary Addition Operation
- Binary Subtraction Operation
- 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 an MD5 Hash Value
- Generating a Random Number in a Specified Range
- Generating a Random String of a Specified Length
- 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
- Advanced Extraction Types
-
Built-in Functions
- Adding Test Cases in Batches
- Managing Test Cases in the Features Directory
- Test Cases and Requirements
- Test Cases and Defects
- Commenting on Test Cases
- Filtering Test Cases
- Customizing Columns to Be Displayed in the Test Case List
- Testing Execution
- Quality Report and Assessment
- Settings
- Roles and Operation Permissions
-
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 ID 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?
- Best Practices
Show all
Combined Keywords
Background
When designing test cases, you may often use the same preparations or test logic. If these steps are written in each test case, the workload is heavy and the maintenance is difficult. Combined keywords are used to encapsulate common test logic for multiple steps and can be invoked by test cases to implement logic reuse.
Scenario 1
- Click
in the upper right corner of the Scripting tab page.
- Enter the Name and Description, select the directory, and set request parameters as required. Select the added URL Request and click Save.
- In the Keyword Library > Combine tab page, view the combined keywords that have been saved.
Scenario 2
- On the Keyword Library > Combine page, click
next to the folder to be saved.
- Set Name and Description.
- You can add user-defined URL requests to the combined keywords.
Click the API tab, select the folder where the keyword to be added is located, and click
on the right of the keyword to be added or hover the cursor over the keyword area and drag the keyword to the test step area.
- Click Save.
For an added combined keyword, you can hover the cursor over the keyword area and perform the following operations:
- Click
on the right of the Keyword to create a folder. You can create combined keywords in a custom folder by referring to Step 1.
- Click
or hover the cursor over Combine to drag the combined keyword to the blank page of the test step to add it to the script.
- Hover the cursor over Combine to adjust the sequence of combined keywords.
- Click
to edit the keyword information.
- Click Mark As. You can set the status of Normal, New, or Update for the combined keyword.
- Click Copy to copy a combined keyword test case in the folder.
- Click Delete to delete a combined keyword.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.