Download Eggplant Reference

Transcript
EggPlant: Reference Manual
94
The RepositionPoint
Example: SetOption RepositionPoint, (1280, 1024)
Value: One pair of screen coordinates.
Default: A dynamic point near the lower-right corner of the Viewer window.
Description: The RepositionPoint determines where the mouse is repositioned during image searches.
Positive coordinate values are relative to the top left corner of the screen; negative coordinate values are relative to
the bottom right corner of the screen. (See also the ShouldRepositionMouse.)
The ScriptLogging
Examples: S
et the ScriptLogging to Silent
SetOption Scriptlogging, On
Values: On (or true), off (or false), minimal, or silent
Default: On.
Description: The ScriptLogging controls which events are recorded in the Log file as a script runs, as follows:
• On: Log, LogWarning, and LogError commands, and all interactions with the SUT are recorded.
•
Off: Only Log, LogWarning, and LogError commands are recorded..
•
Minimal: Only LogWarning and LogError commands are recorded.
•
Silent: Nothing is recorded in the Log file. (Warnings and errors are still counted.)
(For more information, see The Results pane, in The Suite Editor.)
The ScriptAnimation
Examples: S
etOption ScriptAnimation, All
Set the ScriptAnimation to Off
Value: All (or true), Off (or false), or Calls
Default: Off.
Description: The ScriptAnimation determines whether or not a script is animated (highlighted line-by-line in the
Run window) as it runs, as follows:
• All or true. Each line of the script is highlighted as it is executed.
• Off (or false). The script is not animated.
• Calls. Each script or handler is highlighted, but not each line.
The ScriptTracing reverts to its default value upon completion of the script execution. (For more information, see
Animation.)
w w w. t e s t p l a n t . c o m