Testing with IBM® DevOps Deploy

With the HCL DevOps Test UI (Test UI) plugin for IBM® DevOps Deploy (Deploy), you can automate the execution of tests and compound tests.

Before you begin

You must have completed the following tasks:

  • Installed Test UI and Deploy agent on the computer where the tests will be run.

  • Downloaded the DevOps Test UI - Functional Test plugin DTUI-UITest-DD-HCL-12.0 from the HCL® License & Delivery portal.

  • Installed the IBM® DevOps Deploy server and deploy the plugin on the server. For information, refer to the Deploy documentation.

  • Installed Deploy Agent and connect it to the IBM® Deploy server. For more information refer to the Deploy documentation.

  • Ensured that Test UI is not running.

  • Ensured that all the devices are set to the passive mode and the playback-ready apk files are installed to initiate the mobile test runs.

    Note:
    • To run tests on Mac OS, you must add an environment variable that points to the installation directory of the product, for example, export TEST_WORKBENCH_HOME=/opt/HCL/DevOpsTest. For Windows, this environment variable is already defined.
    • If you installed the product on Windows using the stand-alone installer (not using Installation Manager), you must specify the environment variable that points to the installation directory of the product. For example, export TEST_WORKBENCH_HOME=C:\Program Files\HCL\DevOpsTest

About this task

As a tester, you might have a large number of regression tests to run on the latest build of the product. Instead of manually running the tests on every new build, you can install the latest build on the Deploy Agent computer and let Deploy launch the tests for you.

After deploying the Deploy plugin on the server, create the component and its processes, applications and its processes, the environments, and the resources. For information about how to create these different pieces, see Deploy documentation.

Procedure

To create the workflow:
  1. To create a workflow for the newly created component process, click the component process. The Tools view displays the available plugin steps.
  2. From DevOps Test UI - UI Test > Run an HCL DevOps Test UI - UI Test to the design space.
  3. Specify the properties for the step. For information about the properties, see Properties of Steps.
  4. After you configure the step properties, save the step by clicking Save.

Example

You can run a process with multiple tests.

If you have installed multiple products on one target machine, either in the same or different package groups, you can use a single process that includes steps from different products. You must install the plugins of all of the products that you want to use.