Chat now with support
Chat with Support

Foglight Transaction Recorder 5.6.13 - Recorder User Guide

Overview of Foglight synthetic monitoring Use the Foglight Transaction Recorder Create and upload Foglight Transaction Recorder scripts View Foglight Transaction Recorder results Settings How Do I... Appendix: Best practices Appendix: Troubleshoot the Foglight Transaction Recorder Appendix: API for FTR Timer Usage

Script launching and closing of the application

After the script launches the application, add the code to close the application.

Alternately, close the application using the Alt+f or x hot keys. This eliminates the need to capture the window Close button, but does not confirm that the window closed.

Create and test FTR scripts containing the CitraTest script

Once this script is running in CitraTest®, create a new FTR script, and insert a CitraTest script using the FTR Insert Wizard.

1
Create a new FTR script.

Use the Restore Desktop features of CitraTest and FTR

When a script fails, the application is left in an unknown state. To ensure a consistent launch point and avoid other problems such as multiple versions of the application running, Restore Desktop is advisable in many situations. CitraTest® and FTR each have the ability to restore the desktop to the state prior to script execution, and both should be set to ensure a consistent script startup state.

1
In CitraTest, click Playback > Playback Options.
2
Select the Restore desktop to the script start time state check box. This closes any windows that were open when the script launched.

There are certain applications, such as Citrix clients, where closing the window or killing the process is detrimental to the system. For example, closing a Citrix client window leaves the session open on the server. A “LogOff” is required to properly shut down a Citrix client.

In such cases, the Restore Desktop property in the FTR instruction should be left at False. Logic should be added in CitraTest script to the AbortScript function and/or at the beginning of each script to ensure the application is shuts down properly. For example, at the beginning of the Citrix script, use the ImageExists function to check for the pre-existence of the Citrix client, and if it exists click the Start > Shut Down in the Citrix client window and execute a clean Log Off.

Run FTR scripts as a local administrator

When running the FTR scripts in the Foglight Transaction Recorder or through the agent, it is recommended to run with a user that has a local account with administrator rights.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating