|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.scenario.ScenarioWorkaround<P>
public abstract class ScenarioWorkaround<P extends WebPage>
Manage workaround applied when running a scenario.
Design Need to be finalized Workaround
Constructor Summary | |
---|---|
ScenarioWorkaround(P page,
java.lang.String msg)
|
|
ScenarioWorkaround(P page,
java.lang.String msg,
boolean fail)
|
Method Summary | |
---|---|
abstract WebBrowserElement |
execute()
Execute an action to workaround the failure. |
java.lang.String |
getTimestamp()
Get the workaround timestamp. |
boolean |
shouldFail()
Returns whether the current workaround should raise a failure at the end of the test execution. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScenarioWorkaround(P page, java.lang.String msg)
public ScenarioWorkaround(P page, java.lang.String msg, boolean fail)
Method Detail |
---|
public java.lang.String getTimestamp()
String
with 'YYYYMMDD-HHMMSS' format.public boolean shouldFail()
true
if the workaround should raise a failure,
false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
public abstract WebBrowserElement execute()
Subclass has to specify what to do to workaround the problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |