Applying stresses

You can apply stress to applications when recording new scripts or additional script steps to test how applications behave under stressful conditions, such as low disk space and memory.

You can also apply stresses when populating the application repository to capture controls that are only displayed under stressful conditions. For example, you may want to simulate a read-only drive to capture an error message dialog box.

Note: You can manually add stress statements to scripts to enable and disable stresses at specific points during script playback. See Adding statements.

1. Click the Stress Recording toolbar button when recording a script or populating the repository.

The Configure Stress dialog box opens.

2. Select any Drive options.

3. Select any Memory options.

4. Select Disable Windows networking to disable all network adapters on the computer.

Note: Disabling networking affects all applications running on the computer. If an application that requires a network connection is running, close it before selecting this option.

5. Click OK to save the changes.

Finish recording the script or populating the repository. If you recorded a script, the stress options you set during recording are applied when you run the script. See Running scripts.