Converse agora com nosso suporte
Chat com o suporte

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

Use Sync Points

The Foglight Transaction Recorder uses two methods to determine when an instruction completes. It monitors activity in the Main Window, and determines if the next instruction can execute. When the application determines that the next instruction can execute, the instruction is said to have meet its Sync Point. If the application cannot find the HTML element to be acted on in the next instruction, a Sync Point error occurs.

Change source of text for Form Inputs

In addition to replaying the text entered during recording, the Foglight Transaction Recorder allows you to use Java Script or read values from a text file to set the text values of input text instructions. During recording, text typed by the user is captured by the Foglight Transaction Recorder. After recording, this value is changed by selecting the desired option from the Value Source Instruction Property drop-down.

From this drop-down, you can select from the following three options:

An example of a simple script is one that navigates to the Google homepage and enters “Quest” as the search term.

The Instruction Properties for the text value of the input text instruction show that the value is set to Quest as it is recorded.

Text Value

Clicking on the ellipsis for the Instruction Properties Text Value displays the Java Script Editor and shows the value set during the recording process.

Value Script

In place of the recorded value, a Java Script can be used to set the text value of the input text instruction. The following example shows a Java Script that returns “Quest”.

When working with the scripting of forms, note the following:

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação