|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Condition | |
---|---|
com.thoughtworks.selenium.condition |
Uses of Condition in com.thoughtworks.selenium.condition |
---|
Subclasses of Condition in com.thoughtworks.selenium.condition | |
---|---|
class |
Not
Simple predicate class, which also knows how to wait for its condition to be true. |
class |
Presence
Checks whether a given locator exists on the page. |
class |
Text
Checks whether text exists either anywhere on the page, or inside a given locator. |
Methods in com.thoughtworks.selenium.condition with parameters of type Condition | |
---|---|
void |
DefaultConditionRunner.Monitor.conditionFailed(ConditionRunner.Context context,
Condition condition,
java.lang.String message)
|
void |
DefaultConditionRunner.NoOpMonitor.conditionFailed(ConditionRunner.Context context,
Condition condition,
java.lang.String message)
|
void |
DefaultConditionRunner.Log4jMonitor.conditionFailed(ConditionRunner.Context context,
Condition condition,
java.lang.String message)
|
void |
DefaultConditionRunner.Monitor.conditionWasReached(ConditionRunner.Context context,
Condition condition)
Called whenever a DefaultConditionRunner.waitFor(Condition) is
successful (i.e. |
void |
DefaultConditionRunner.NoOpMonitor.conditionWasReached(ConditionRunner.Context context,
Condition condition)
|
void |
DefaultConditionRunner.Log4jMonitor.conditionWasReached(ConditionRunner.Context context,
Condition condition)
|
void |
DefaultConditionRunner.waitFor(Condition condition)
|
void |
ConditionRunner.waitFor(Condition condition)
This method will, every so often, evaluate the given condition 's
isTrue(ConditionRunner.Context) method, until:
it becomes true, in which case it simply returns
a certain amount of time is passed, in which case it fails by throwing
an failure exception tailored to a given test framework -- e.g. |
void |
DefaultConditionRunner.waitFor(java.lang.String narrative,
Condition condition)
|
void |
ConditionRunner.waitFor(java.lang.String narrative,
Condition condition)
As above but with an additonal 'should' phrase narrative used in the event of the condition failing to become true |
void |
DefaultConditionRunner.Monitor.waitHasBegun(ConditionRunner.Context context,
Condition condition)
Called whenever a DefaultConditionRunner.waitFor(Condition) has
begun, and is being tracked with the given condition . |
void |
DefaultConditionRunner.NoOpMonitor.waitHasBegun(ConditionRunner.Context context,
Condition condition)
|
void |
DefaultConditionRunner.Log4jMonitor.waitHasBegun(ConditionRunner.Context context,
Condition condition)
|
Constructors in com.thoughtworks.selenium.condition with parameters of type Condition | |
---|---|
Not(Condition positiveCondition)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |