Newbie questions

44 views
Skip to first unread message

chris.v...@gmail.com

unread,
Feb 5, 2018, 11:21:37 AM2/5/18
to TestFX
Hi,

I was asked to investigate if it is possible to automate testing for an application.
I'm quite new to JavaFX and TestFX.

The problem I am having now, is that the application window is not displayed.
What I do is very simple:
FxToolkit.registerPrimaryStage();
FxToolkit.showStage();
app = FxToolkit.setupApplication(MultiAssist.class);

For a simple demo application, this displays the application without Windows title bar and buttons.
However, for the actual application I need to test, nothing is displayed.
From the logging of the application, I see that it starts, but now window.

Probably related to how the application is made (which I don't really yet), but is there something that can be done in TestFX to force display?

Thanks,

Chris
Reply all
Reply to author
Forward
0 new messages