Uses of Class
org.testfx.api.FxRobot
-
Packages that use FxRobot Package Description org.testfx.api org.testfx.framework.junit org.testfx.framework.junit5 org.testfx.util -
-
Uses of FxRobot in org.testfx.api
Methods in org.testfx.api that return FxRobot Modifier and Type Method Description FxRobot
FxRobot. clickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. clickOn(java.lang.String query, Motion motion, javafx.scene.input.MouseButton... buttons)
<T extends javafx.scene.Node>
FxRobotFxRobot. clickOn(java.util.function.Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. clickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. clickOn(javafx.geometry.Point2D point, 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.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. clickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)
<T extends javafx.scene.Node>
FxRobotFxRobot. clickOn(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. clickOn(PointQuery pointQuery, 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(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. doubleClickOn(java.lang.String query, Motion motion, javafx.scene.input.MouseButton... buttons)
<T extends javafx.scene.Node>
FxRobotFxRobot. doubleClickOn(java.util.function.Predicate<T> predicate, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. doubleClickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. doubleClickOn(javafx.geometry.Point2D point, 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.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. doubleClickOn(javafx.stage.Window window, Motion motion, javafx.scene.input.MouseButton... buttons)
<T extends javafx.scene.Node>
FxRobotFxRobot. doubleClickOn(org.hamcrest.Matcher<T> matcher, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. drag(double x, double y, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. drag(java.lang.String query, javafx.scene.input.MouseButton... buttons)
<T extends javafx.scene.Node>
FxRobotFxRobot. drag(java.util.function.Predicate<T> predicate, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. drag(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. drag(javafx.geometry.Point2D point, 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.scene.Scene scene, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. drag(javafx.stage.Window window, javafx.scene.input.MouseButton... buttons)
<T extends javafx.scene.Node>
FxRobotFxRobot. drag(org.hamcrest.Matcher<T> matcher, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. drag(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)
FxRobot
FxRobot. drop()
FxRobot
FxRobot. dropBy(double x, double y)
FxRobot
FxRobot. dropTo(double x, double y)
FxRobot
FxRobot. dropTo(java.lang.String query)
<T extends javafx.scene.Node>
FxRobotFxRobot. dropTo(java.util.function.Predicate<T> predicate)
FxRobot
FxRobot. dropTo(javafx.geometry.Bounds bounds)
FxRobot
FxRobot. dropTo(javafx.geometry.Point2D point)
FxRobot
FxRobot. dropTo(javafx.scene.Node node)
FxRobot
FxRobot. dropTo(javafx.scene.Scene scene)
FxRobot
FxRobot. dropTo(javafx.stage.Window window)
<T extends javafx.scene.Node>
FxRobotFxRobot. dropTo(org.hamcrest.Matcher<T> matcher)
FxRobot
FxRobot. dropTo(PointQuery pointQuery)
FxRobot
FxRobot. eraseText(int amount)
FxRobot
FxRobot. interact(java.lang.Runnable runnable)
<T> FxRobot
FxRobot. interact(java.util.concurrent.Callable<T> callable)
FxRobot
FxRobot. interactNoWait(java.lang.Runnable runnable)
<T> FxRobot
FxRobot. interactNoWait(java.util.concurrent.Callable<T> callable)
FxRobot
FxRobot. interrupt()
FxRobot
FxRobot. interrupt(int attemptsCount)
FxRobot
FxRobot. moveBy(double x, double y, Motion motion)
FxRobot
FxRobot. moveTo(double x, double y, Motion motion)
FxRobot
FxRobot. moveTo(java.lang.String query, Motion motion)
<T extends javafx.scene.Node>
FxRobotFxRobot. moveTo(java.util.function.Predicate<T> predicate, Motion motion)
FxRobot
FxRobot. moveTo(javafx.geometry.Bounds bounds, Motion motion)
FxRobot
FxRobot. moveTo(javafx.geometry.Point2D point, Motion motion)
FxRobot
FxRobot. moveTo(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset, Motion motion)
FxRobot
FxRobot. moveTo(javafx.scene.Scene scene, Motion motion)
FxRobot
FxRobot. moveTo(javafx.stage.Window window, Motion motion)
<T extends javafx.scene.Node>
FxRobotFxRobot. moveTo(org.hamcrest.Matcher<T> matcher, Motion motion)
FxRobot
FxRobot. moveTo(PointQuery pointQuery, 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(double x, double y, Motion motion)
FxRobot
FxRobot. rightClickOn(java.lang.String query, Motion motion)
<T extends javafx.scene.Node>
FxRobotFxRobot. rightClickOn(java.util.function.Predicate<T> predicate, Motion motion)
FxRobot
FxRobot. rightClickOn(javafx.geometry.Bounds bounds, Motion motion)
FxRobot
FxRobot. rightClickOn(javafx.geometry.Point2D point, Motion motion)
FxRobot
FxRobot. rightClickOn(javafx.scene.Node node, Motion motion)
FxRobot
FxRobot. rightClickOn(javafx.scene.Scene scene, Motion motion)
FxRobot
FxRobot. rightClickOn(javafx.stage.Window window, Motion motion)
<T extends javafx.scene.Node>
FxRobotFxRobot. rightClickOn(org.hamcrest.Matcher<T> matcher, Motion motion)
FxRobot
FxRobot. rightClickOn(PointQuery pointQuery, Motion motion)
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.HorizontalDirection 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(java.lang.String stageTitleRegex)
FxRobot
FxRobot. targetWindow(java.util.function.Predicate<javafx.stage.Window> predicate)
FxRobot
FxRobot. targetWindow(java.util.regex.Pattern stageTitlePattern)
FxRobot
FxRobot. targetWindow(javafx.scene.Node node)
FxRobot
FxRobot. targetWindow(javafx.scene.Scene scene)
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)
Methods in org.testfx.api with parameters of type FxRobot Modifier and Type Method Description static void
FxToolkit. cleanupAfterTest(FxRobot robot, javafx.application.Application application)
static void
FxToolkit. cleanupInput(FxRobot robot)
Runs on theJavaFX Application Thread
: Releases remaining mouse and keyboard events. -
Uses of FxRobot in org.testfx.framework.junit
Subclasses of FxRobot in org.testfx.framework.junit Modifier and Type Class Description class
ApplicationRule
class
ApplicationTest
The base class that your JUnit test classes should extend from that interact with and/or verify the state of a JavaFX UI. -
Uses of FxRobot in org.testfx.framework.junit5
Subclasses of FxRobot in org.testfx.framework.junit5 Modifier and Type Class Description class
ApplicationExtension
class
ApplicationTest
-
Uses of FxRobot in org.testfx.util
Methods in org.testfx.util with parameters of type FxRobot Modifier and Type Method Description 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 forDebugUtils.insertHeader(String)
using "Context:" as the header text and then, viaDebugUtils.insertContent(String, Object)
, composesDebugUtils.showKeysPressedAtTestFailure(FxRobot)
,DebugUtils.showMouseButtonsPressedAtTestFailure(FxRobot)
, andDebugUtils.showFiredEvents()
together in their given order, depending on what the booleans are.static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder>
DebugUtils. informedErrorMessage(FxRobot robot)
Convenience method forDebugUtils.informedErrorMessage(String, boolean, boolean, FxRobot, boolean, boolean)
with all booleans set totrue
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 forDebugUtils.informedErrorMessage(String, boolean, boolean, FxRobot, boolean, boolean)
with all booleans set totrue
.static java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder>
DebugUtils. showKeysPressedAtTestFailure(FxRobot robot)
ViaDebugUtils.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)
ViaDebugUtils.insertContent(String, Object)
: shows theMouseButton
s 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)
-