Testing with Ant
You can use ant to run Web UI and compound
tests from the command line. Starting from
version 2.0 of the ant plugin, you can run multiple tests simultaneously.
Version 6.0 of the ant
plugin is supported in HCL OneTest™ UI V10.0.2 of the testing products.
Before you begin
You must have completed the following tasks:
- Installed IBM® Installation Manager.Note: If you are running an earlier version of the ant plugin, you must shut down the product and IBM Installation Manager before starting the test execution. From version 2.0 of the ant plugin, shutting down the IBM Installation Manager is no longer necessary before starting the test execution.
- Installed the products themselves.
- Verified that you have a test residing within an Eclipse workspace on the computer where the products are installed.
- Added ant to the PATH environment variable.
Note:
To run Web UI 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/HCLOneTest. For Windows, this environment variable is already defined.
If you installed the product on Windows by using the stand-alone installer (not using IBM 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\HCLOneTest.