|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.config.Config
public abstract class Config
Manage the scenario configuration.
To run a scenario, following parameters need to be defined:
Timeouts
for more details).Topology
for more details).WebBrowser
for more details).
Constructor Summary | |
---|---|
Config()
|
Method Summary | |
---|---|
int |
closeDialogTimeout()
Return the timeout used to wait for a dialog to be closed. This time is expressed in seconds. |
WebBrowser |
getBrowser()
Return the browser used while running the scenario. |
int |
getOpenPageTimeout()
Return the timeout used to wait for a page to be loaded. This time is expressed in seconds. |
int |
getShortTimeout()
Return the timeout used to wait for short run operation. This time is expressed in seconds. |
int |
getTimeout()
Return the timeout used to wait for an expected element in the current web page. |
Timeouts |
getTimeouts()
Return the timeouts used while running the scenario. |
Topology |
getTopology()
Return the topology used while running the scenario. |
WebBrowser |
openNewBrowser()
Close the current browser session and open a new one. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Config()
Method Detail |
---|
public int closeDialogTimeout()
int
.public WebBrowser getBrowser()
WebBrowser
.public int getOpenPageTimeout()
int
.public int getShortTimeout()
int
.public int getTimeout()
int
.public Timeouts getTimeouts()
Timeouts
.public Topology getTopology()
Topology
.public WebBrowser openNewBrowser()
Warning: This should not be called directly as the page cache needs to be reset after this call
and the current page needs to be reopened. Use startNewBrowserSession in WebPage
instead.
WebBrowser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |