|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
doCommand method, which sends the command to the browser
to be performed.message and
args, which are in the String.format(String, Object...)
modeal.
Condition, which
need certain basic pieces that it needs to execute (e.g.ConditionRunner.waitFor(Condition) to
provide context to the
Condition#isTrue(com.google.testing.selenium.condition.ConditionRunner.Context)
methodDefaultConditionRunner.waitFor(Condition) is
successful (i.e.
DefaultConditionRunner.NoOpMonitor.
DefaultConditionRunner.NoOpMonitor.
DefaultConditionRunner.Monitor.DefaultConditionRunner.Monitor can be installed in DefaultConditionRunner as an
open ended way of being notified of certain events.DefaultConditionRunner.Monitor.ConditionRunner.waitFor(Condition)
method for this context was called.
Selenium associated with this instance.
isTrue(ConditionRunner.Context) can call this method
to set extra information to be displayed upon a failure.
SeleneseTestCase.isCaptureScreenShotOnFailure() instead
MULTI_WINDOW field is set.
SINGLE_WINDOW field is set.
AssertionError when
the condition is not met - the same as JUnit4 and TestNG do.AssertionFailedError when
the condition is not met.selectWindow() already provides).
SeleneseTestCase.setCaptureScreenShotOnFailure(boolean) instead
MULTI_WINDOW and unsets SINGLE_WINDOW
SINGLE_WINDOW and unsets MULTI_WINDOW.
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.
DefaultConditionRunner.waitFor(Condition) has
begun, and is being tracked with the given condition.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||