User's Manual

Table Of Contents
Working with Session Scripts
14-6 Active System Manager User Guide, Release 7.1
5. Optional. Select a script and click Environment to overwrite the default execution environment
settings. For more information about the global settings, see the “Setting Preferences for Resource
Scripts” section on page 14-4.
6. Click OK to start the resource scripts. For more information about script execution, see the
“Customizing Script Execution” section on page 14-8.
Viewing Resource Script Output
The Active System Manager software opens a Console view when the resource script starts and displays
the results in that view. You can view resource scripts (via the Session perspective) that are associated with
a running session, by perform the following steps:
1. On the Active System Manager menu bar, click Window > Show View > Execution Queue to display
the Execution Queue view.
2. Select your test case, right-click and select Monitor Execution Output.
A Console view with the test case ID displays the complete output in progress.
Stopping a Resource Script
After resource script execution has begun, you can stop it at any time. This feature is designed for when
you are executing many resource scripts, or the execution time is lengthy, or when you want to change the
settings and restart the resource script.
To stop a resource script, perform one of the following options:
On the Console view toolbar, click the Stop Execution icon.
This icon function ends the collection of data from a resource script, but it does not necessarily cause
the resource script to abort (that is, to exit from the operating system). If you have a simple resource
script that opens some temporary files, does processing, and then removes the temporary files, you
might prefer that a “stopped” test still ran to completion—and deleted those files—rather than exiting
abruptly.
Open the Execution Queue view, navigate to your resource script. From here, you can either right-click
the resource script and select Stop, or right-click the resource script and select Monitor Execution
Output. For more information about the latter two functions, see the “Monitoring Execution Output”
section on page 14-12 and “Reviewing Execution Output” section on page 14-12, respectively.
Working with Session Scripts
Session scripts are executable files located in a script repository on a remote server. Sessions scripts can
only be invoked from a running session editor.
This section describes:
Setting Preferences for Session Scripts
Browsing and Executing Session Scripts