Running HCL OneTest™ Server tests on the UCD server
After you install the HCL OneTest™ Server UCD plugin on the 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
- Added the tests that you created in the desktop clients for your application to the project on HCL OneTest™ Server.
- Installed the latest version of the HCL OneTest™ Server UCD plugin. See Installing the plugin.
- Generated an offline user token from HCL OneTest™ Server. See Generating an offline token.
About this task
After you have installed the HCL OneTest™ Server UCD plugin 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™ Server test step to edit the step properties for the test you want to run. After selecting 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 UrbanCode Deploy (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 you want to run by completing 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 HCL OneTest™ Server UCD plugin to integrate HCL OneTest™ Server 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
performing the following action:
- Expand the step. You can then expand the application process. You can then hover over the process, and then click the Output Log icon . The output log is displayed. You can verify the log details.
- You can also view the test reports and logs of the test that was run on the UCD server from the Results page on HCL OneTest™ Server. See Test results and reports overview.