public class ElementWaitConfig extends SystemWaitConfig
AutoTest.waitForElement()
factoryCreated, factoryProperties
Constructor and Description |
---|
ElementWaitConfig() |
ElementWaitConfig(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
static ElementWaitConfig |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Integer |
getTimeout()
Timeout for
AutoTest.waitForElement() in ms. |
ElementWaitStyle |
getWaitStyle()
This attribute configures how
waitForElement() determines that the application is read to retrieve the
element. |
ElementWaitConfig |
setTimeout(java.lang.Integer timeout)
Timeout for
AutoTest.waitForElement() in ms. |
ElementWaitConfig |
setWaitStyle(ElementWaitStyle waitStyle)
This attribute configures how
waitForElement() determines that the application is read to retrieve the
element. |
getIncludeFileLoader, getIncludeNetworkOperations, getIncludeRedraws, getIncludeTimers, setIncludeFileLoader, setIncludeNetworkOperations, setIncludeRedraws, setIncludeTimers
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public ElementWaitConfig()
public ElementWaitConfig(com.google.gwt.core.client.JavaScriptObject jsObj)
public static ElementWaitConfig getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public ElementWaitConfig setTimeout(java.lang.Integer timeout)
AutoTest.waitForElement()
in ms. If this is
exceeded the callback will be fired with element set to null
, and the callback will be passed
false
as its "done"
parameter. Note that AutoTest.getElement()
can return a valid element but this method can still
timeout if the element is not clickable or the system is busy.
If unset a default timeout of 30 seconds will be used.
setTimeout
in class SystemWaitConfig
timeout
- New timeout value. Default value is nullElementWaitConfig
instance, for chaining setter callspublic java.lang.Integer getTimeout()
AutoTest.waitForElement()
in ms. If this is
exceeded the callback will be fired with element set to null
, and the callback will be passed
false
as its "done"
parameter. Note that AutoTest.getElement()
can return a valid element but this method can still
timeout if the element is not clickable or the system is busy.
If unset a default timeout of 30 seconds will be used.
getTimeout
in class SystemWaitConfig
public ElementWaitConfig setWaitStyle(ElementWaitStyle waitStyle)
waitForElement()
determines that the application is read to retrieve the
element. See ElementWaitStyle
for options. If not explicitly set, the defaultElementWaitStyle
will be used.
waitStyle
- New waitStyle value. Default value is nullElementWaitConfig
instance, for chaining setter callspublic ElementWaitStyle getWaitStyle()
waitForElement()
determines that the application is read to retrieve the
element. See ElementWaitStyle
for options. If not explicitly set, the defaultElementWaitStyle
will be used.