background image
<< Running Two Suites Sequentially | The Progress Bar and the Default Views >>
<< Running Two Suites Sequentially | The Progress Bar and the Default Views >>

Scheduling a Suite to Run at a Specific Time

132
Chapter 5 - Executing Tests
Scheduling a Suite to Run at a Specific Time
Use the task scheduler of your operating system together with a suite command line
to schedule a suite to run at a specific time. The following example shows how to
schedule
Sample Suite
to run daily at 12:00.
1
From the Windows 2000 taskbar, click
Start
>
Settings
>
Control Panel
>
Scheduled
Tasks
>
Add Scheduled Task.
2
The Scheduled Task Wizard appears. Click
Next
.
3
Select Rational TestManager and then click
Next
.
4
Type a name for this task (for example,
Daily Suite Run
), select
Daily
, and then click
Next
.
5
Select
12:00 AM
as the start time, click
Every Day
, select a start date, and then click
Next
.
6
Enter your Windows 2000 user name and password and then click
Next
.
At this point, TestManager will run each night at 12:00. However, you want a
TestManager suite to run. To run a suite, you must set the
Advanced Properties
.
7
Click
Open Advanced Properties for this task when I click finish
and then click
Finish
.
8
At the Daily Suite Run dialog box, click the Task tab.
9
At the Run prompt, Windows displays a command line similar to the following:
C:\PROGRA~1\Rational\RATION~1\rtspla.exe ts_man
10
Add the
ts_manrtmanager.exe
command line to the end of this command line.
C:\PROGRA~1\Rational\RATION~1\rtspla.exe ts_manrtmanager.exe
"Sample Suite" /runsuite /user admin /project "C:\Pats
Projects\project1\Project1.rsp" /computers Local /build build 271
/logfolder "Sample Suite" /log logname /overwritelog /numusers 100
/close
Monitoring Test Runs
While a suite, test case, or test script is running, you can monitor its progress. You can:
s
Confirm that the test is progressing successfully.
s
Discover potential problems early in the run so you can intervene if necessary.
s
Suspend and restart virtual testers.