立即与支持人员聊天
与支持团队交流

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

Captured images should be as small as possible

Use small unique images in your scripts. This reduces the impact of display changes to the script.

For example, the following image of the Quest Software logo is accurate, but much larger than needed.

The example below provides a much smaller, unique image to use to identify the logo.

Manually create the CitraTest scripts

While CitraTest® has a record feature, manual scripting using the “Capture image/Insert script function” method, results in scripts that are more reliable and easier to debug. After a short learning curve, manual scripts can be created almost as quickly as recorded scripts. When creating a new CitraTest script, use the following steps.

Besides creating easily readable code, this method forces the programmer to think about what the script needs to accomplish and how those actions will be performed.

In the following example, a script opens IE, launches Foglight, performs a few actions, and then closes IE.

Use the AppStart function to start applications

The first step to accomplish in many CitraTest® scripts is starting the application. While it is tempting to double-click desktop icons, or use the Start menu to launch an application, the AppStart function is easier and more reliable.

3
Select AppStart from the CitraTest Scripting menu. Choose the executable that launches the application and the image of the title bar used to verify the application is running.

Maximize applications after AppStart

Maximize the display of the application to ensure that the window matches the script development window size and displays all of the interface.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级