public enum TimeoutType extends Enum<TimeoutType>
Enumeration of default timeout types in the elements.
NOTE: This enumeration should NOT be extended with further timeout types, unless it is a matter of
common (as in: involving more than one developer) consensus that a new timeout type is necessary.
Instead, use customized timeouts, if a particular test context requires timeout adjustments (to that end you may use
TimedQuery.by(long)
and TimedQuery.by(long, java.util.concurrent.TimeUnit)).
| Enum Constant and Description |
|---|
AJAX_ACTION
An AJAX-like action on the tested page, e.g.
|
COMPONENT_LOAD
Load time of an UI-heavy components (e.g.
|
DEFAULT
Default timeout value.
|
DIALOG_LOAD
Dialog load time.
|
EVALUATION_INTERVAL
Interval between consecutive attempts to evaluate state of a particular test components, used e.g.
|
PAGE_LOAD
Page load of an average product page.
|
SLOW_PAGE_LOAD
Page load of a slow page, e.g.
|
UI_ACTION
Use for any actions executed by the test within the page UI, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeoutType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeoutType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeoutType DEFAULT
public static final TimeoutType EVALUATION_INTERVAL
TimedQuery,
PollingQuerypublic static final TimeoutType UI_ACTION
public static final TimeoutType PAGE_LOAD
public static final TimeoutType SLOW_PAGE_LOAD
public static final TimeoutType DIALOG_LOAD
public static final TimeoutType COMPONENT_LOAD
public static final TimeoutType AJAX_ACTION
public static TimeoutType[] values()
for (TimeoutType c : TimeoutType.values()) System.out.println(c);
public static TimeoutType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015 Atlassian. All rights reserved.