object.HighlightObject([timeout, color])
Variable | Description |
---|---|
timeout | Optional: Number of seconds that Silk Test Classic highlights the object. If no value is specified, the object remains highlighted until a different object is highlighted. NUMBER. |
color | Optional: Specifies the color to use for highlighting the object. If no color is specified, the default highlight color, green, is used. COLOR. |
If no timeout value is specified, the object remains highlighted until a different object is highlighted.
Use the option OPT_REPLAY_HIGHLIGHT_TIME to specify that before each invoke command the object is highlighted. By default this value is set to 0, which means that objects are not highlighted by default.