com.appfoundation.automation.framework.gwen.domain.action
Class WaitAction

java.lang.Object
  extended by com.appfoundation.automation.framework.gwen.domain.Action
      extended by com.appfoundation.automation.framework.gwen.domain.action.WaitAction

public class WaitAction
extends Action

WaitAction

An Wait Action is a type of action that says that the application should wait (a certain amount of time) for something to happen, in the format of wait [wait type] [Locator Expression]

Example:

wait to be clickable button by text "Submit"

Author:
john.valentino

Field Summary
private  Locator locator
           
private  java.lang.String value
           
private  WaitType waitType
           
 
Constructor Summary
WaitAction()
           
 
Method Summary
 Locator getLocator()
           
 java.lang.String getValue()
           
 WaitType getWaitType()
           
 void setLocator(Locator locator)
           
 void setValue(java.lang.String value)
           
 void setWaitType(WaitType waitType)
           
 
Methods inherited from class com.appfoundation.automation.framework.gwen.domain.Action
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

waitType

private WaitType waitType

locator

private Locator locator

value

private java.lang.String value
Constructor Detail

WaitAction

public WaitAction()
Method Detail

getWaitType

public WaitType getWaitType()

setWaitType

public void setWaitType(WaitType waitType)

getLocator

public Locator getLocator()

setLocator

public void setLocator(Locator locator)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)