DZone depends on you. Login and vote now.
By bloid
via java.dzone.com
Published: Dec 31 2008 / 09:48
In order to perform functional testing of a JavaFX UI, we need first to start such UI from a test (written in Java) and then get a reference to the JFrame hosting it. Once we overcome this challenge, we can start simulating user input on the UI under test. Once again, easier said than done.
Tweet
SaveShareSend
Tags: frameworks, java, other languages



Comments
Gregg Bolinger replied ago:
Does it not strike anyone as odd that some sort of testing infrastructure wasn't considered when designing JavaFX? Testing JavaFX looks and feels hackish. Another JavaFX "Doh!" moments. ;)
alruiz15 replied ago:
True. I feel quite uncomfortable using classes in com.sun.* packages. Hopefully future versions of JavaFX will expose more of the internals in a safer way :)
Cheers,
-Alex
Voters For This Link (12)
Voters Against This Link (0)