Borland® SilkTest (silktest.jar)

The Borland® SilkTest launcher allows running test generated with SilkTest.



Configuration

The silktest.xml file allows pre-configuring the launcher with some default values:


Parameter Description
General
Test Root Path This must indicate where are located all the SilkTest tests.
This is a root path. Each test in XStudio has a canonical path that will be appended to this path.
This path MUST not include an ending slash.

Default value is: C:/tests_repository/silktest
SilkTest
SilkTest Install Path This must indicate the path where SilkTest has been installed.

Default value is: C:/Program Files/Silk/SilkTest
Options (Opt.) This must indicate the options passed to the command line.

Default value is: -q -quiet
Additional arguments (Opt.) This must indicate the additional arguments.

Default value is: <empty>


These values can be changed while creating the campaign session from XStudio.


Requirements

The tests are executed by the launcher using this syntax:


"<silkTestInstallPath>/partner.exe" <Options> -resexport -resextract <testPath> <additionalArguments> -r "<testRootPath>/<testPath>/<testName>.t"


The test will be marked as passed or failed depending on the content of the text result file (.txt) generated.
The following files are also attached to the testcase execution in XStudio:
  • <testName>.res
  • <testName>.rex
  • <testName>.to
  • <testName>.txt