Help Center> CloudTest> User Guide> Test Case> API Automation Test Cases> Executing an API Automation Test Case
Updated on 2023-03-14 GMT+08:00

Executing an API Automation Test Case

Prerequisites

An API automation test case has been created.

Common Execution

  1. Log in to the CodeArts homepage, search for your target project, and click the project name to access the project.
  2. On the navigation bar, choose Testing > Testing Case.
  3. On the API Automation tab page, locate the test case 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 Result column.

  4. After the execution is complete, you can view the execution result in the Result column of the test case list.

    Click the test case name and click the Result tab to view the execution history of the test case.

  5. After confirming the test case execution result, set the test case status to Completed on the Details tab page.

Execution with Specified Parameters

API automation test cases can be executed with parameters.

  1. In the test case list, click in the Operation column and select Specify Parameter to Execute.
  2. In the dialog box that is displayed, select a version number (version number of the test plan to which the test case belongs) and click Execute.