public class RunOnFailure extends RunOnFailureKeywordsAdapter
| Modifier and Type | Field and Description |
|---|---|
protected Logging |
logging
Instantiated Logging keyword bean
|
protected boolean |
runningOnFailureRoutine
Only run keyword on failure if true
|
protected String |
runOnFailureKeyword
The keyword to run an failure
|
protected static ThreadLocal<org.python.util.PythonInterpreter> |
runOnFailurePythonInterpreter |
| Constructor and Description |
|---|
RunOnFailure() |
| Modifier and Type | Method and Description |
|---|---|
String |
registerKeywordToRunOnFailure(String keyword)
Sets the actual and returns the previous keyword to execute when a
Selenium2Library keyword fails.
|
void |
runOnFailure() |
runOnFailureByAspectJprotected String runOnFailureKeyword
protected boolean runningOnFailureRoutine
protected Logging logging
protected static ThreadLocal<org.python.util.PythonInterpreter> runOnFailurePythonInterpreter
public String registerKeywordToRunOnFailure(String keyword)
| Register Keyword To Run On Failure | Log Source | # Run `Log Source` on failure. | |
| ${previous kw}= | Register Keyword To Run On Failure | Nothing | # Disable run-on-failure functionality and stors the previous kw name in a variable. |
| Register Keyword To Run On Failure | ${previous kw} | # Restore to the previous keyword. |
keyword - The keyword to execute on failurepublic void runOnFailure()
Copyright © 2014. All rights reserved.