background image
<< Running a Suite from the Command Line | Scheduling a Suite to Run at a Specific Time >>
<< Running a Suite from the Command Line | Scheduling a Suite to Run at a Specific Time >>

Running Two Suites Sequentially

Before You Run a Suite
131
Running Two Suites Sequentially
The following example runs two suites,
Suite1
and
Suite2
, sequentially. Note that you
need to invoke TestManager twice from the command line in separate and succeeding
instances. Since only one instance of TestManager can run at a time, use the Windows
START command with the /WAIT option to ensure that the second instance of
TestManager does not attempt to start until the first one is finished.
START /WAIT rtmanager.exe Suite1 /runsuite /user admin /project
"C:\Sample Project\Sample.rsp" /computers Local /build "Build 1"
/logfolder Default /log Sample1 /close
rtmanager.exe Suite2 /runsuite /user admin /project "C:\Sample
Project\Sample.rsp" /computers Local /build "Build 1" /logfolder
Default /log Sample2 /close
In this example, TestManager logs on to the project
C:\Sample Project\Sample.rsp
as the
virtual tester admin and runs
Suite1
on the local computer. The results of running
Suite1
are stored in the test log
Sample1
, which is created in the log folder
Default
in
build
Build 1
. After the run is complete, TestManager closes.
The second instance of TestManager then logs on to the project
C:\Sample
Project\Sample.rsp
as the virtual tester admin and runs
Suite2
on the local computer.
The results of running
Suite2
are stored in the test log
Sample2
, which is created in the
log folder
Default
in build
Build 1
. After the run is complete, TestManager closes.
/overwritelog
Overwrite the test log if it exists. If you omit this option and
the log exists, a message appears that says the log exists and
cannot be overwritten.
/numusers
nnn
The target number of virtual testers when executing a suite
that contains user groups. This is mandatory for running
performance testing suites.
/ignoreconfiguredtestcases
Ignore configuration matching (such as test cases that
specify computers with specific operating systems or other
attributes) when running test cases that are in the specified
suite.
/close
Closes TestManager after running the suite. This option is
useful when you are scheduling a suite to run at a specific
time. To make the results of the suite run remain on the
screen, omit the /close option.
Syntax Element
Description