Supported options in Maven
- workspace
- project
- suite
Option | Description |
---|---|
Required | |
workspace | The complete path to the Eclipse workspace. |
project | The path, including the file name of the project relative to the workspace. |
suite | The path, including the file name of the test relative to the project. A test can be a Web UI test or a compound test. |
Optional | |
aftsuite | The path, including the file name of the
xml file to run an AFT test. The aftsuite
option accepts aft XML as the parameter value. It supports only one
aft XML as input. For example, aftsuite="aftinput" Note: You must provide the file name along with
the file extension to run an Accelerated Functional Test
suite. |
configfile | The option to specify the complete path to
a file that contains the parameters for a test run. Each parameter
must be on a single line. To create a configuration file, you must
use an editor that does not wrap lines. Any parameter, whether
required or optional, can be set in the configuration file. The
command line parameters override the values in this file. Notes:
|
compare | The option to export the result in the compare mode. You must use this option with exportstatshtml and execsummary. The value can be paths to the runs and are relative to the workspace. You must separate the paths by a comma. |
exportlog | The option to specify the file path to
store the exported test log. You can provide multiple parameter entries when running multiple tests. You must use a colon to separate the parameter entries. For example: exportlog c:/logexport.txt:c:/secondlogexport.txt If there are multiple suite option entries with a single exportlog parameter entry, then the exportlog option generates the appropriate number of test logs by appending 0, 1, 2, and so on to the exportlog option entry name. For example: suite="sampletest1:sampletest2:sampletest3" exportlog="c:/logexport.txt " The command generates the following test logs:
|
exportstatreportlist | The option to specify a comma-separated
list of report IDs along with exportstats or
exportstatshtml to list the reports that
you want to export in place of the default reports, or the reports
selected under Preferences. To view this setting, navigate to .To copy the report IDs list into your command line, navigate to .Under Select reports to export, select the required reports, and click Copy ID to clipboard. You can then paste the clipboard content on to your editor. |
exportstats | The option to export reports in comma-separated values (CSV) format, with the file name derived from the report name. This directory can be relative to the project or a directory on your file system. If the exportstatreportlist option is not specified, the reports specified on the Export Reports page of the Performance Test Report preferences are exported. |
exportstatshtml | The option to export web analytic results to the specified directory. You can then analyze the results on a web browser without using the test workbench. |
overwrite |
Determines whether a result file with the same name is overwritten. The default value, false, indicates that the new result file is created. If the value is true, the file is overwritten and retains the same file name. You must use double quotes for values true or false. |
plugins | The complete path to the folder that
contains the plugins. Typically, on Windows operating systems, this
folder is located at C:\Program
Files\IBM\IBMIMShared\plugins. You must specify the path if the folder is at a different location. |
protocolinput | The option 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:
|
quiet | The option to turn off any message output from the launcher and return to the command shell when the run or the attempt is complete. |
results | The name of the results file. The default
result file name is the test name with a time stamp appended. You
must specify a folder name that is relative to the project to store
the test results. For example, results="folder/resultname" |
usercomments |
The text to be displayed in the usercomments row of the report. Add text within the double quotation mark () Note:
|
varfile | The complete path to the XML file that
contains the variable name and value pairs. To run a Web UI test on a different browser than that was used for the recording, specify the predefined variable. For more information, see Defining a variable to run a test with a selected browser. |
vmargs |
The option to pass Java™ virtual machine arguments. You can use the -vmargs option in the
following scenarios:
|
publish | The option to publish test results to Rational® Test Automation
Server.
You must provide the URL and offline user token of the server in Rational® Functional Tester before you use the publish parameter in the test script. ofUse the following arguments with the publish parameter:
If you do not use the configfile 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 | The option to publish test results to Rational® Test Automation 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:
|
eclipsehome |
The option to provide the complete path of the directory that contains eclipse.exe. For example, C:\Program Files\IBM\SDP |
importzip |
The option to import the project as test assets with dependencies into your workspace. For example,
|
execsummary |
The option to export all of the reports for the test run in a printable format, also known as an executive summary, to the local computer. You must specify the path to store the executive summary. |
execsummaryreport |
This option to export a specific report as an executive summary for the test run to the local computer. You must specify the ID of the report to export as execsummaryreport <reportID>. For example, to export an HTTP performance report, specify
http.
Note: You must use this option along with
execsummary. To copy the report IDs list into your command line, navigate to .Under Select reports to export, select the required reports, and click Copy ID to clipboard. You can then paste the clipboard content on to your command line editor. |
swapdatasets |
For a test, the default value is the dataset specified in the test editor. You must use the swapdatasets option to replace 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 (;). |
exportReport |
The option to export the unified report of UI tests to the file
formats such as PDF, HTML, and XML.
Note: The exported XML file is a JUnit XML file. You can view
this file in applications that support JUnit reporting
formats. The command syntax is as follows: exportReport "type=<reporttype>;format=<file type1,file type2,file type3>;folder<destination folder path;filename=<name of the exported file>" For example, to export the report to only the pdf format, you can use exportReport "type=unified;format=pdf;folder=Exportedreport102;filename=testreport" If you want to export the report to multiple formats, you can specify the file formats as comma-separated values. The file type value can be in uppercase or lowercase. For example, to export the report to all the supported formats, you can use exportReport "type=unified;format=pdf,xml,html;folder=Exportedreport102;filename=testreport" The report in different file formats use the same file name that is specified in the command. |
labels |
The option to add labels 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, labels
= When you run test assets then the same labels are displayed on the UI Test Statistical Report in Rational® Functional Tester. If you have set Publish result after execution as Always or Prompt in the Rational® Functional Tester preferences (labels option, then the Results page of Rational® Test Automation Server displays the same label for the specific test asset. ) and useNote:
|
exportstatsformat |
The option to specify a format for the result that you want to
export along with the exportstats option.
You must use at least one of the following parameters with the
exportstatsformat option:
For example, exportstats="<local_dir_path>" exportstatsformat="simple.json" You can add multiple arguments separated by a comma. For example, exportstats="<local_dir_path>" exportstatsformat="simple.json, full.csv" When you want to export both simple and full type of test results in a json or csv format, you can specify json or csv as the arguments in the command. When the test run completes, the test result exports to simple.json and full.json files. For example, exportstats="<local_dir_path>" exportstatsformat="json" |