|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.scenario.ScenarioStep
public class ScenarioStep
Manage a list of tests to execute in a scenario step.
Scenario may have several steps which are defined using a specific ScenarioRunner
and a list of classes as argument of Suite.SuiteClasses
annotation.
The step provides easy access to scenario configuration and data through its
ScenarioExecution
stored instance.
This step is connected to a web page. The page might be stored by the step
when loaded. If so, it's automatically stored to the ScenarioExecution
at the end of the test execution to allow next test or step to have the last
page used by previous step in hand when starting.
The step also stores all workaround used during the tests and can provide information about them.
Design: To be finalized
Field Summary | |
---|---|
com.ibm.team.fvt.tests.scenario.ScenarioStep.ScenarioStepRule |
stepRule
|
Constructor Summary | |
---|---|
ScenarioStep()
|
Method Summary | |
---|---|
ScenarioExecution |
getScenarioExecution()
Return the scenario execution. |
static void |
setUpStep()
|
void |
setUpTest()
Setup executed at the beginning of each test step. |
void |
tearDownTest()
Tear down executed at the end of each test step. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public com.ibm.team.fvt.tests.scenario.ScenarioStep.ScenarioStepRule stepRule
Constructor Detail |
---|
public ScenarioStep()
Method Detail |
---|
public static void setUpStep()
public ScenarioExecution getScenarioExecution()
ScenarioExecution
.public void setUpTest()
So far, it only displays the step title when it's the first test and the test title in the console.
public void tearDownTest() throws java.lang.Exception
So far, it turn off the first step flag and stores the current page to the scenario execution to pass it to next test.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |