Properties of Steps
You must set the properties of steps to run the tests.
Input properties for the test run step
- Workspace
- Project
- Test Suite Name
Field | Description |
---|---|
Required | |
Name | Enter the name of the step. |
Workspace | Enter the complete path to the Eclipse workspace. |
Project | Enter the path, including the file name of the project relative to workspace. |
Test Suite Name | Enter the path, including the file name, of the test to run relative to the project. A test can be a Web UI test, compound test, or Accelerated Functional Test. To run multiple tests sequentially, specify test names separated by comma. |
Optional | |
IMShared Location | Enter the complete path to the location of the HCLIMShared folder. For example, C:\Program Files\HCL\HCLIMShared |
Import | Enter the complete path to the project folder that is cloned from a source control system or remote repository. When you use this option, you can specifiy a name for the new workspace to be created to run the imported test assets in the Workspace field. |
Var File | Enter the complete path to the XML file that contains the variable name and value pairs. |
Config File | Enter the complete path to a file that contains the parameters for a test run. |
Results File | Enter the name of the results file. The default result file is the test name with a time stamp appended. |
Overwrite Results file | Determines whether a results file with the same name is overwritten. The default value is true which indicates that the results files can be overwritten. |
Number of Virtual Users | For a schedule, the default value is the number of users specified in the schedule editor. For a test, the default value is one user. Overrides the default number of users, if required. |
VM Args | Java™ virtual machine arguments to pass in. |
Protocol Input | Use this argument to run a Web UI test in parallel on
different browsers. -protocolinput "all.available.targets.in.parallel=all" -protocolinput "all.available.targets.in.parallel=chrome,ff,ie" Note: If you use the
-protocolinput argument, you
must not use the equivalent -vmargs
arguments:
|
Dataset Override | For a test, the default value is the dataset specified
in the test editor. Note: You must use the Dataset Override option to replace the dataset values during a test run. You must ensure that both original and new datasets are in the same workspace and have the same column names. You must also include the path to the dataset. For example, /project_name/ds_path/ds_filename.csv:/project_name/ds_path/new_ds_filename.csv .
You can swap multiple datasets that are saved in a different project by adding multiple paths to the dataset separated by a semicolon (;). For example,
|
Exported HTTP Test log File | Enter the complete path to a file in which to store the exported HTTP test log. |
Exported Statistical Report Data File | Enter the complete path to the directory in which to store exported statistical report data. |
Custom Report Format Files | A comma-separated list of absolute paths to custom report format files (.view files) to use when exporting statistical report data with the -exportstats option. |
User Comments | Enter the text within double quotation mark to display it in
the User Comments row of the report. Note:
|
Export Report | Specify the values to export the unified report of UI tests
to the file formats such as PDF, HTML, and XML. Enter the following details in the text field: type=<report type>;format=<file type>;folder=<destination folder path>;filename=<name of the exported file> For example, type=unified;format=pdf,xml,html;folder=E:\temp\logs;filename=UCDExecutionReport When you choose to export the report to all the supported formats, the report in different file formats use the same file name that is specified in the field. |
Exportstatsformat |
Specify a format for the report that you want to export. You must use the Exported Statistical Report Data File parameter along with the Export stats format parameter. You must use at least one of the following formats:
For example,
You can add multiple formats for the report separated by a comma (,). If you want to export both the simple and full reports in a json or csv format, you can specify json or csv as the format in the field. The reports are saved to the location specified in the Exported Statistical Report Data File field. |
Labels | Enter the labels to be added to the test results when the
test run is complete. You can add multiple labels to a test
result separated by a comma. For example,
When you run test assets then the same labels are displayed on the UI Test Statistical Report in HCL OneTest™ UI. If you have set Publish result after execution as Always or Prompt in the HCL OneTest™ UI preferences ( ) and use the Labels option, then the Results page of HCL OneTest™ Server displays the same label for the specific test asset. Note:
|
Exportstatshtml | Enter the complete path to a directory to export web analytic results. The results are exported to the specified directory. You can then analyze the results on a web browser without using the test workbench. |
Publish | Specify the server URL and project name to publish test
results to HCL OneTest™ Server. You must provide the URL and offline user token of the server in HCL OneTest™ UI before you use the publish parameter in the test script. ofUse the following arguments with the Publish parameter:
If you do not use the Config File parameter to run the tests, then the values provided in the test script always take precedence over the Results options set in the product preferences ( ). The Reports information section on the Output window displays the names of the report along with its corresponding URLs in the following conditions:
|
Publish_for | Specify the option to publish test results to HCL OneTest™ Server based on the completion status of the tests. You must use the Publish_for parameter along with the Publish parameter. The following are the available options that you can use for the Publish_for parameter:
For
example:
|
Publishreports | Specify the option to publish test results in HCL OneTest™ Server.
The values that you can use with
Publishreports are as follows:
You must use the Publishreports parameter along with the Publish parameter. For example:
The values specified here override the values selected in HCL OneTest™ UI. ofYou can prefix the value with For example,
All the reports except the TESTLOG report is published to HCL OneTest™ Server after executing the command. |