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 FxRobotFxRobot. clickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. 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)FxRobotFxRobot. clickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. clickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. clickOn(javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. clickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. clickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. 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)FxRobotFxRobot. clickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. closeCurrentWindow()Deprecated.The implementation of this method simply pushes the keys ALT+F4 which does not close the current window on all platforms.FxRobotFxRobot. doubleClickOn(double x, double y, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. 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)FxRobotFxRobot. doubleClickOn(javafx.geometry.Bounds bounds, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. doubleClickOn(javafx.geometry.Point2D point, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. doubleClickOn(javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. doubleClickOn(javafx.scene.Node node, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. doubleClickOn(javafx.scene.Scene scene, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. 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)FxRobotFxRobot. doubleClickOn(PointQuery pointQuery, Motion motion, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. drag(double x, double y, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. 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)FxRobotFxRobot. drag(javafx.geometry.Bounds bounds, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. drag(javafx.geometry.Point2D point, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. drag(javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. drag(javafx.scene.Node node, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. drag(javafx.scene.Scene scene, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. 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)FxRobotFxRobot. drag(PointQuery pointQuery, javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. drop()FxRobotFxRobot. dropBy(double x, double y)FxRobotFxRobot. dropTo(double x, double y)FxRobotFxRobot. dropTo(java.lang.String query)<T extends javafx.scene.Node>
FxRobotFxRobot. dropTo(java.util.function.Predicate<T> predicate)FxRobotFxRobot. dropTo(javafx.geometry.Bounds bounds)FxRobotFxRobot. dropTo(javafx.geometry.Point2D point)FxRobotFxRobot. dropTo(javafx.scene.Node node)FxRobotFxRobot. dropTo(javafx.scene.Scene scene)FxRobotFxRobot. dropTo(javafx.stage.Window window)<T extends javafx.scene.Node>
FxRobotFxRobot. dropTo(org.hamcrest.Matcher<T> matcher)FxRobotFxRobot. dropTo(PointQuery pointQuery)FxRobotFxRobot. eraseText(int amount)FxRobotFxRobot. interact(java.lang.Runnable runnable)<T> FxRobotFxRobot. interact(java.util.concurrent.Callable<T> callable)FxRobotFxRobot. interactNoWait(java.lang.Runnable runnable)<T> FxRobotFxRobot. interactNoWait(java.util.concurrent.Callable<T> callable)FxRobotFxRobot. interrupt()FxRobotFxRobot. interrupt(int attemptsCount)FxRobotFxRobot. moveBy(double x, double y, Motion motion)FxRobotFxRobot. moveTo(double x, double y, Motion motion)FxRobotFxRobot. moveTo(java.lang.String query, Motion motion)<T extends javafx.scene.Node>
FxRobotFxRobot. moveTo(java.util.function.Predicate<T> predicate, Motion motion)FxRobotFxRobot. moveTo(javafx.geometry.Bounds bounds, Motion motion)FxRobotFxRobot. moveTo(javafx.geometry.Point2D point, Motion motion)FxRobotFxRobot. moveTo(javafx.scene.Node node, javafx.geometry.Pos offsetReferencePos, javafx.geometry.Point2D offset, Motion motion)FxRobotFxRobot. moveTo(javafx.scene.Scene scene, Motion motion)FxRobotFxRobot. moveTo(javafx.stage.Window window, Motion motion)<T extends javafx.scene.Node>
FxRobotFxRobot. moveTo(org.hamcrest.Matcher<T> matcher, Motion motion)FxRobotFxRobot. moveTo(PointQuery pointQuery, Motion motion)FxRobotFxRobot. press(javafx.scene.input.KeyCode... keys)FxRobotFxRobot. press(javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. push(javafx.scene.input.KeyCode... combination)FxRobotFxRobot. push(javafx.scene.input.KeyCodeCombination combination)FxRobotFxRobot. release(javafx.scene.input.KeyCode... keys)FxRobotFxRobot. release(javafx.scene.input.MouseButton... buttons)FxRobotFxRobot. rightClickOn()FxRobotFxRobot. rightClickOn(double x, double y, Motion motion)FxRobotFxRobot. rightClickOn(java.lang.String query, Motion motion)<T extends javafx.scene.Node>
FxRobotFxRobot. rightClickOn(java.util.function.Predicate<T> predicate, Motion motion)FxRobotFxRobot. rightClickOn(javafx.geometry.Bounds bounds, Motion motion)FxRobotFxRobot. rightClickOn(javafx.geometry.Point2D point, Motion motion)FxRobotFxRobot. rightClickOn(javafx.scene.Node node, Motion motion)FxRobotFxRobot. rightClickOn(javafx.scene.Scene scene, Motion motion)FxRobotFxRobot. rightClickOn(javafx.stage.Window window, Motion motion)<T extends javafx.scene.Node>
FxRobotFxRobot. rightClickOn(org.hamcrest.Matcher<T> matcher, Motion motion)FxRobotFxRobot. rightClickOn(PointQuery pointQuery, Motion motion)FxRobotFxRobot. scroll(int amount)Deprecated.FxRobotFxRobot. scroll(int amount, javafx.geometry.HorizontalDirection direction)FxRobotFxRobot. scroll(int amount, javafx.geometry.VerticalDirection direction)FxRobotFxRobot. scroll(javafx.geometry.HorizontalDirection direction)FxRobotFxRobot. scroll(javafx.geometry.VerticalDirection direction)FxRobotFxRobot. sleep(long milliseconds)FxRobotFxRobot. sleep(long duration, java.util.concurrent.TimeUnit timeUnit)FxRobotFxRobot. targetPos(javafx.geometry.Pos pointPosition)FxRobotFxRobot. targetWindow(int windowNumber)FxRobotFxRobot. targetWindow(java.lang.String stageTitleRegex)FxRobotFxRobot. targetWindow(java.util.function.Predicate<javafx.stage.Window> predicate)FxRobotFxRobot. targetWindow(java.util.regex.Pattern stageTitlePattern)FxRobotFxRobot. targetWindow(javafx.scene.Node node)FxRobotFxRobot. targetWindow(javafx.scene.Scene scene)FxRobotFxRobot. targetWindow(javafx.stage.Window window)FxRobotFxRobot. type(javafx.scene.input.KeyCode... keyCodes)FxRobotFxRobot. type(javafx.scene.input.KeyCode keyCode, int times)FxRobotFxRobot. write(char character)FxRobotFxRobot. write(java.lang.String text)FxRobotFxRobot. write(java.lang.String text, int sleepMillis)Methods in org.testfx.api with parameters of type FxRobot Modifier and Type Method Description static voidFxToolkit. cleanupAfterTest(FxRobot robot, javafx.application.Application application)static voidFxToolkit. 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 classApplicationRuleclassApplicationTestThe 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 classApplicationExtensionclassApplicationTest -
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 totrueand 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 theMouseButtons 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)
-