Eggplant Functional Run Preferences
Run Preferences are the default values of frequently used run options.
To change these values for an individual script, use the SetOption
command or set the global property within the script. For more information, see Run Options Global Properties.
To restore all run options (from all five tabs) to their default value, click Restore Default Run Options at the bottom of the preferences panel.
Mouse
The Mouse settings determine specific mouse behavior in the Viewer window during script execution.
The Mouse tab in Eggplant Functional Run Preferences
Mouse Click Delay: This value represents the time between the press and release of a mouse click on the SUT.
Double-Click Delay: This value represents the time between the release of the first click and the press of the second click of a DoubleClick command.
Mouse Move Speed: This value represents the maximum distance the mouse cursor can move per segment.
Mouse Drag Speed. This value represents the maximum distance the mouse cursor can drag per segment.
Mouse Move Delay: This value represents the delay between segments of mouse movement.
Movement Mode: This pop-up menu determines the path a mouse cursor takes when it moves from one place to another. Choose Direct, Horizontal Then Vertical, or Vertical Then Horizontal.
Should reposition mouse during image search: Select this checkbox to have Eggplant Functional (EPF) move the mouse to the bottom right corner after an initial image search that did not reveal a match.
Keyboard
The Keyboard preferences determine specific keyboard behavior in the Viewer window during script execution. For more information, see Run Options Global Properties.
The Keyboard settings tab in Eggplant Functional Run Preferences
Key-Down Delay: This value represents the length of time between a key press and release.
Next-Key Delay: This value represents the delay between typed keystrokes.
Send shift key down for capitals: This pop-up menu determines the whether or not Eggplant Functional will hold the SUT's Shift key while typing capital letters. Choose from Always, Never, or When modifiers aren't down. If Never is selected, Eggplant Functional sends capital-letter key codes to the SUT, without using the Shift key.
Enable Backslash Escape Codes: Select this checkbox to allow Eggplant Functional to recognize backslash escape codes in scripts.
Screen
The Screen preferences determine search time and image tolerance in the Viewer window.
The Screen settings tab in Eggplant Functional Run Preferences
Search Timing
Image Search Time: The number in this field represents the approximate maximum time that you want to allow Eggplant Functional to find an image match in the Viewer window. The actual
time can be longer than the time specified here, depending on other factors related to the search.
-
Search Delay: The value in this field is time between one image search and the next.
-
Search Count: The value in this field represents the number of times Eggplant Functional searches for a single image match.
ノートIf you set the search count value to 1, Eggplant Functional does not perform a full-screen refresh and repositions the mouse before failing. This approach can reduce delay when searching for images that are not present in the Remote screen, but it can also cause unnecessary failures due to screen artifacts and timing errors.
The Image Search Time is equal to the Image Search Delay multiplied by one less than the Image Search Count. Changing the Image Search Time affects the other two values, and vice versa.
Precise Image Tolerance
The position of this slider determines the level of precision Eggplant Functional requires to match an image with a tolerant search. The number represents the maximum difference between an original pixel’s RGB value and the RGB value of a presumed match in the Viewer window.
Standard Image Tolerance
The position of this slider determines the level of precision Eggplant Functional requires to match an image with a standard search. The number represents the maximum difference between an original pixel’s RGB value and the RGB value of a presumed match in the Viewer window.
These image tolerance values affect your searches throughout every script you run in Eggplant Functional. If you need to change these values, it is usually best to do it on a script-by-script basis.
Adaptive Image Tolerance
The position of this slider determines the amount of variation allowed in the overall image when considering a match. A low value like 1 requires a near-perfect match. The higher the tolerance value, the more variation is allowed in the overall image when considering a match.
System
The options in the System pane determine how Eggplant Functional interacts directly with the remote system.
The System tab in Eggplant Functional Run Preferences
Minimum Time Between SUT Actions
Remote Work Interval: The value in this fields represents the minimum delay between two commands that interact with the SUT. For more information, see the RemoteWorkInterval, in the Run Options Global Properties.
Auto-proceed countdown on Image/OCR Update
Auto-proceed Delay: The time you have to act on a manual Image Update event. When the time is up, the script proceeds normally. To turn off the Image Update timer, set the Auto-proceed Delay to 0. Note that this setting applies to the Image Update panel and the OCR Update panel. (For information about using the Image Update panel, see The Image Update Panel. For information about the OCR Update panel, see The OCR Update Panel.)