There is an existing JavaFX based application, which I should write automated tests for. I just started to use TestFX(version 4.0.13-alpha) and looking for advice, how to record and identify UI objects of application. I tried following code to initialize a button, but it couldn't be clicked.

Button button = new Button("submit");

I found these GUI inspect tools, but not sure, which one could works with TestFX.

  • Could you add your TestFX test code, especially the lookup?
    – beatngu13
    Aug 6, 2018 at 9:59
  • @beatngu13 : I need to write black box tests, so it doesn't exists yet.
    – plaidshirt
    Aug 7, 2018 at 5:55


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.