com.ibm.team.fvt.tests.config
Class Config

java.lang.Object
  extended by com.ibm.team.fvt.tests.config.Config

public abstract class Config
extends java.lang.Object

Manage the scenario configuration.

To run a scenario, following parameters need to be defined:


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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config()
Method Detail

closeDialogTimeout

public int closeDialogTimeout()
Return the timeout used to wait for a dialog to be closed.
This time is expressed in seconds.

Returns:
The timeout as a int.

getBrowser

public WebBrowser getBrowser()
Return the browser used while running the scenario.

Returns:
The browser as WebBrowser.

getOpenPageTimeout

public int getOpenPageTimeout()
Return the timeout used to wait for a page to be loaded.
This time is expressed in seconds.

Returns:
The timeout as a int.

getShortTimeout

public int getShortTimeout()
Return the timeout used to wait for short run operation.
This time is expressed in seconds.

Returns:
The timeout as a int.

getTimeout

public int getTimeout()
Return the timeout used to wait for an expected element in the current web page. This time is expressed in seconds.

Returns:
The timeout as a int.

getTimeouts

public Timeouts getTimeouts()
Return the timeouts used while running the scenario.

Returns:
The timeouts as Timeouts.

getTopology

public Topology getTopology()
Return the topology used while running the scenario.

Returns:
The topology as Topology.