Questions tagged [jemmyfx]

JemmyFX provides an API for testing JavaFX user interface in your application. JemmyFX provides unique UI testing capabilities and high test stability.

JemmyFX provides an API for testing JavaFX user interface in your application. JemmyFX provides unique UI testing capabilities and high test stability.

See more at: http://jemmy.java.net/JemmyFXGuide/jemmy-guide.html#sthash.xOCm1OTv.dpuf

17 questions
6
votes
1 answer

Testing multiple JavaFX components using JemmyFX

I am working on a fairly large project which includes a set of custom JavaFX components. For each custom component which is meant to be reused, I have started to write a set of automated tests using JemmyFX and JUnit. During development, I run these…
Hans
  • 2,448
  • 2
  • 24
  • 30
3
votes
1 answer

Cannot Build JemmyFX

I'm trying to create a Maven project that includes all the Jemmy modules (Jemmy Core, Glass Image, Glass Robot, JemmyFx and JemmyFX browser) because when I tried to build following these instructions here it fails telling me that the JAR files are…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
3
votes
2 answers

Jemmy drag and drop blocks until mouse manually moved

I have a TableView with four rows and I try to test that my drag and drop implementation works. I have the following test: TableViewDock table = ...; //the four rows, using the first cell for the DnD TableCellItemDock[] rows = {new…
assylias
  • 321,522
  • 82
  • 660
  • 783
2
votes
1 answer

JemmyFx jar location

I would like to test my JavaFX applications and i heard that JemmyFX is the right tool to do this. However, i couldn't find the Jar to download. I tried searching online for it but i was only able to find this page which shows that the last commit…
1
vote
0 answers

Jemmy FX test not working when GUI is minimized or system locked

I have created a simple JAVA FX application and trying to test the application using JEMMYFX. Using scene dock to get the current scene and trying to get the GUI Components but it is working only when the user is not disturbed and it is failed when…
1
vote
0 answers

How to use JemmyFX from Jython?

I am exploring the possibility of using JemmyFX from Jython by attempting to port tests/bigapps/EnsembleTest to Jython. But, I have encountered an obstacle. I expect to be able to replace this Java code: TextInputControlDock searchField = new…
davidrmcharles
  • 1,923
  • 2
  • 20
  • 33
1
vote
1 answer

Testing Two Scenes with JemmyFX or TestFX

I have a scene (scene1) that has a button. When I click on the button, the scene changes to scene2. scene2 also has a button. When I click it the scene changes to scene 1. How do I test this behavior in JavaFX2 using JemmyFX or TestFX?
damat-perdigannat
  • 5,780
  • 1
  • 17
  • 33
1
vote
1 answer

JemmmyFX in Event mode

I want to use JemmyFx for testing JavaFx applications. In Jemmyv2, we were able to start Jemmy in either event or robot-mode. However, it seems that only Robot mode is available in Jemmy3. I tried looking into the source code, especially that of…
1
vote
2 answers

Text representation of the content of a TableView

For testing purposes (using JemmyFX), I want to check that the content of a TableView is appropriately formatted. For example: one column is of type Double and a cell factory has been applied to show the number as a percent: 20%. How can I verify…
assylias
  • 321,522
  • 82
  • 660
  • 783
1
vote
2 answers

jemmy3 status of development

While I was searching for Swing UI-testing tools I came across Jemmy. The new version, Jemmy 3 has very promising lookup methods, according to this tutorial . On the other hand, I found no installation tutorial, no distribution jar either. I cloned…
Tamas Rev
  • 7,008
  • 5
  • 32
  • 49
0
votes
1 answer

Cannot Build JemmyFX for JDK11 - class "com.sun.glass.ui.Robot" not longer existing

In my project I'm using JemmyFX to test my JavaFX-UI. Now I will update from Java8 to Java11. Because of an exception in my TestRun I have also to update my JemmyFX-Version. So I tried to check out the JemmyFX-Stuff from openjfx…
0
votes
1 answer

how do you run multiple scenarios (in the same or different feature files) without starting app instance cucumber jvm?

My setup closes the app instance when I run multiple scenarios, either in the same feature file or different feature files. Is there a way to run scenarios back-to-back without restarting the java app instance?
0
votes
1 answer

JemmyFX interactions with a control in a dialog fail intermittently **on Linux**

My JavaFX application creates a dialog as a second Stage and my JemmyFX tests intermittently fail to click controls in that dialog. Failures occur at a rate of about 10% on my Ubuntu Linux workstation, but this works flawlessly on Windows. The…
davidrmcharles
  • 1,923
  • 2
  • 20
  • 33
0
votes
1 answer

jemmyFx, How to test FXML applications with two or more scens?

I have FXML application with more than one scene. main method is on one Controller class and within that controller we load loginController. What i need to do is test this loginController UI. But there is no start method. I need to know how to pass…
0
votes
1 answer

jemmy fx testing fx ui gives me an IllegalStateException when clicking a button

I want to test my javafx UI. I have an Application.class that has the main function and loads a scene (a login screen). My testing code @Before public void startApp() throws InterruptedException { startApp(Application.class); scene = new…
Apostolos
  • 7,763
  • 17
  • 80
  • 150
1
2