public interface ConfigurationIssue
Throwable
instances implementing this interface will be
recorded if thrown during automation and their handle()
method will
be called upon the Robot GUI exit.
For example, if an automation running with the GUI on fails for a missing plugin or a component it may open a window describing the issue and instructions or even lead the user to the window where it can be fixed, such as the Preferences or Update & Upgrade window. The implementing class must ensure that the eventual pop up gets displayed just once even if multiple throwables are recorded, for example using a static flag.
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Get the priority between 0 (lowest) and 100 (highest).
|
boolean |
handle()
Called on GUI shut down.
|
void |
setOwner(TestScriptInterpret t)
Set the test script that produced this throwable.
|
boolean handle()
void setOwner(TestScriptInterpret t)
t
- the owning test script.int getPriority()