| Package | Description |
|---|---|
| org.testfx.api | |
| org.testfx.util |
| Modifier and Type | Method and Description |
|---|---|
FxRobot |
FxRobot.clickOn(javafx.geometry.Bounds bounds,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.clickOn(double x,
double y,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobot.clickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.clickOn(javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.clickOn(javafx.scene.Node node,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.clickOn(javafx.geometry.Point2D point,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.clickOn(PointQuery pointQuery,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobot.clickOn(java.util.function.Predicate<T> predicate,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.clickOn(javafx.scene.Scene scene,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.clickOn(java.lang.String query,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.clickOn(javafx.stage.Window window,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.closeCurrentWindow()
Deprecated.
The implementation of this method simply pushes the keys ALT+F4 which
does not close the current window on all platforms.
|
FxRobot |
FxRobot.doubleClickOn(javafx.geometry.Bounds bounds,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.doubleClickOn(double x,
double y,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobot.doubleClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.doubleClickOn(javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.doubleClickOn(javafx.scene.Node node,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.doubleClickOn(javafx.geometry.Point2D point,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.doubleClickOn(PointQuery pointQuery,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobot.doubleClickOn(java.util.function.Predicate<T> predicate,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.doubleClickOn(javafx.scene.Scene scene,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.doubleClickOn(java.lang.String query,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.doubleClickOn(javafx.stage.Window window,
Motion motion,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(javafx.geometry.Bounds bounds,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(double x,
double y,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobot.drag(org.hamcrest.Matcher<T> matcher,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(javafx.scene.Node node,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(javafx.geometry.Point2D point,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(PointQuery pointQuery,
javafx.scene.input.MouseButton... buttons) |
<T extends javafx.scene.Node> |
FxRobot.drag(java.util.function.Predicate<T> predicate,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(javafx.scene.Scene scene,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(java.lang.String query,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drag(javafx.stage.Window window,
javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.drop() |
FxRobot |
FxRobot.dropBy(double x,
double y) |
FxRobot |
FxRobot.dropTo(javafx.geometry.Bounds bounds) |
FxRobot |
FxRobot.dropTo(double x,
double y) |
<T extends javafx.scene.Node> |
FxRobot.dropTo(org.hamcrest.Matcher<T> matcher) |
FxRobot |
FxRobot.dropTo(javafx.scene.Node node) |
FxRobot |
FxRobot.dropTo(javafx.geometry.Point2D point) |
FxRobot |
FxRobot.dropTo(PointQuery pointQuery) |
<T extends javafx.scene.Node> |
FxRobot.dropTo(java.util.function.Predicate<T> predicate) |
FxRobot |
FxRobot.dropTo(javafx.scene.Scene scene) |
FxRobot |
FxRobot.dropTo(java.lang.String query) |
FxRobot |
FxRobot.dropTo(javafx.stage.Window window) |
FxRobot |
FxRobot.eraseText(int amount) |
<T> FxRobot |
FxRobot.interact(java.util.concurrent.Callable<T> callable) |
FxRobot |
FxRobot.interact(java.lang.Runnable runnable) |
<T> FxRobot |
FxRobot.interactNoWait(java.util.concurrent.Callable<T> callable) |
FxRobot |
FxRobot.interactNoWait(java.lang.Runnable runnable) |
FxRobot |
FxRobot.interrupt() |
FxRobot |
FxRobot.interrupt(int attemptsCount) |
FxRobot |
FxRobot.moveBy(double x,
double y,
Motion motion) |
FxRobot |
FxRobot.moveTo(javafx.geometry.Bounds bounds,
Motion motion) |
FxRobot |
FxRobot.moveTo(double x,
double y,
Motion motion) |
<T extends javafx.scene.Node> |
FxRobot.moveTo(org.hamcrest.Matcher<T> matcher,
Motion motion) |
FxRobot |
FxRobot.moveTo(javafx.scene.Node node,
javafx.geometry.Pos offsetReferencePos,
javafx.geometry.Point2D offset,
Motion motion) |
FxRobot |
FxRobot.moveTo(javafx.geometry.Point2D point,
Motion motion) |
FxRobot |
FxRobot.moveTo(PointQuery pointQuery,
Motion motion) |
<T extends javafx.scene.Node> |
FxRobot.moveTo(java.util.function.Predicate<T> predicate,
Motion motion) |
FxRobot |
FxRobot.moveTo(javafx.scene.Scene scene,
Motion motion) |
FxRobot |
FxRobot.moveTo(java.lang.String query,
Motion motion) |
FxRobot |
FxRobot.moveTo(javafx.stage.Window window,
Motion motion) |
FxRobot |
FxRobot.press(javafx.scene.input.KeyCode... keys) |
FxRobot |
FxRobot.press(javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.push(javafx.scene.input.KeyCode... combination) |
FxRobot |
FxRobot.push(javafx.scene.input.KeyCodeCombination combination) |
FxRobot |
FxRobot.release(javafx.scene.input.KeyCode... keys) |
FxRobot |
FxRobot.release(javafx.scene.input.MouseButton... buttons) |
FxRobot |
FxRobot.rightClickOn() |
FxRobot |
FxRobot.rightClickOn(javafx.geometry.Bounds bounds,
Motion motion) |
FxRobot |
FxRobot.rightClickOn(double x,
double y,
Motion motion) |
<T extends javafx.scene.Node> |
FxRobot.rightClickOn(org.hamcrest.Matcher<T> matcher,
Motion motion) |
FxRobot |
FxRobot.rightClickOn(javafx.scene.Node node,
Motion motion) |
FxRobot |
FxRobot.rightClickOn(javafx.geometry.Point2D point,
Motion motion) |
FxRobot |
FxRobot.rightClickOn(PointQuery pointQuery,
Motion motion) |
<T extends javafx.scene.Node> |
FxRobot.rightClickOn(java.util.function.Predicate<T> predicate,
Motion motion) |
FxRobot |
FxRobot.rightClickOn(javafx.scene.Scene scene,
Motion motion) |
FxRobot |
FxRobot.rightClickOn(java.lang.String query,
Motion motion) |
FxRobot |
FxRobot.rightClickOn(javafx.stage.Window window,
Motion motion) |
FxRobot |
FxRobot.scroll(javafx.geometry.HorizontalDirection direction) |
FxRobot |
FxRobot.scroll(int amount)
Deprecated.
|
FxRobot |
FxRobot.scroll(int amount,
javafx.geometry.HorizontalDirection direction) |
FxRobot |
FxRobot.scroll(int amount,
javafx.geometry.VerticalDirection direction) |
FxRobot |
FxRobot.scroll(javafx.geometry.VerticalDirection direction) |
FxRobot |
FxRobot.sleep(long milliseconds) |
FxRobot |
FxRobot.sleep(long duration,
java.util.concurrent.TimeUnit timeUnit) |
FxRobot |
FxRobot.targetPos(javafx.geometry.Pos pointPosition) |
FxRobot |
FxRobot.targetWindow(int windowNumber) |
FxRobot |
FxRobot.targetWindow(javafx.scene.Node node) |
FxRobot |
FxRobot.targetWindow(java.util.regex.Pattern stageTitlePattern) |
FxRobot |
FxRobot.targetWindow(java.util.function.Predicate<javafx.stage.Window> predicate) |
FxRobot |
FxRobot.targetWindow(javafx.scene.Scene scene) |
FxRobot |
FxRobot.targetWindow(java.lang.String stageTitleRegex) |
FxRobot |
FxRobot.targetWindow(javafx.stage.Window window) |
FxRobot |
FxRobot.type(javafx.scene.input.KeyCode... keyCodes) |
FxRobot |
FxRobot.type(javafx.scene.input.KeyCode keyCode,
int times) |
FxRobot |
FxRobot.write(char character) |
FxRobot |
FxRobot.write(java.lang.String text) |
FxRobot |
FxRobot.write(java.lang.String text,
int sleepMillis) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> |
DebugUtils.informedErrorMessage(FxRobot robot)
Convenience method for
DebugUtils.informedErrorMessage(String, boolean, boolean, FxRobot, boolean, boolean)
with all booleans set to true and the header text set to "Context:". |
static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> |
DebugUtils.informedErrorMessage(FxRobot robot,
java.lang.String headerText)
Convenience method for
DebugUtils.informedErrorMessage(String, boolean, boolean, FxRobot, boolean, boolean)
with all booleans set to true. |
static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> |
DebugUtils.informedErrorMessage(java.lang.String headerText,
boolean takeScreenshot,
boolean showFiredEvents,
FxRobot robot,
boolean showKeysPressed,
boolean showMouseButtonsPressed)
Convenience method for
DebugUtils.insertHeader(String) using "Context:" as the header text and then, via
DebugUtils.insertContent(String, Object), composes DebugUtils.showKeysPressedAtTestFailure(FxRobot),
DebugUtils.showMouseButtonsPressedAtTestFailure(FxRobot), and DebugUtils.showFiredEvents() together in
their given order, depending on what the booleans are. |
static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> |
DebugUtils.showKeysPressedAtTestFailure(FxRobot robot)
Via
DebugUtils.insertContent(String, Object): shows the keys that were pressed when the test failed. |
static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> |
DebugUtils.showKeysPressedAtTestFailure(FxRobot robot,
java.lang.String indent) |
static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> |
DebugUtils.showMouseButtonsPressedAtTestFailure(FxRobot robot)
Via
DebugUtils.insertContent(String, Object): shows the MouseButtons
that were pressed when the test failed. |
static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> |
DebugUtils.showMouseButtonsPressedAtTestFailure(FxRobot robot,
java.lang.String indent) |