Running HCL OneTest™ API tests on the UrbanCode™ Deploy server
After you install the UCD plugin for HCL OneTest™ API or the UCD plugin for HCL OneTest™ Virtualization on the UrbanCode™ Deploy (UCD) server, you can create a process request that contains the test for your application, and then run the test on the UCD server.
Before you begin
- Created the tests for your application in HCL OneTest™ API.
- Installed the agents on the UCD server.
- Installed the latest version of the UCD plugin for HCL OneTest™ API or the UCD plugin for HCL OneTest™ Virtualization on the UCD server. See Installing the UCD plugin for HCL OneTest API or the UCD plugin for HCL OneTest Virtualization.
About this task
After you have installed the UCD plugin for HCL OneTest™ API or the UCD plugin for HCL OneTest™ Virtualization on the UCD server, you can either use an existing component in your project or create a component. You can create a component process and select the HCL OneTest API test step to edit the step properties for the test you want to run. After you select the agent, you can create an application. You can then create an application process for the application, and then submit the application process for a run.
Procedure
- Log in to the UCD server, if you are not already logged in.
-
Click Components from the UCD dashboard, and then
click Create Component to create a component.
Note: You can either use an existing component or create a component.
-
Create a component process in the component by performing the following
steps:
-
Select the process step that you want to run by performing the following
steps:
-
Specify the properties for the selected test by performing the following
steps:
- Click Save in the design area.
-
Click the Resources tab from the UCD dashboard and
create a resource by clicking Create Top-Level
Group.
The created resource is displayed on the Resource Tree tab page.
-
Select the agent that runs the test by completing the following steps:
Important: You must have already installed the agent on the UCD server that you want to use.
-
Add the component to the agent by performing the following steps:
-
Create an application by completing the following steps:
-
Select the application process to run the test by completing the following
steps:
Results
You have used the UCD plugin for HCL OneTest™ API or the UCD plugin for HCL OneTest™ Virtualization to integrate HCL OneTest™ API with UCD and run the test from your project on the UCD server.
- Success: When the test run is successful.
- Failed: When the test run is failed.
What to do next
You can view the details of the test run as a process from the UCD dashboard by expanding the step. You can then expand the application process. You can hover over the process, and then click the Output Log icon . The output log is displayed. You can verify the log details.