HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

DZone depends on you. Login and vote now.
Link 145380 thumbnail
User 111696 avatar

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.
  • 12
  • 0
  • 1650
  • 0

Comments

Add your comment
User 152955 avatar

Gregg Bolinger replied ago:

0 votes Vote down Vote up Reply

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. ;)

User 134694 avatar

alruiz15 replied ago:

0 votes Vote down Vote up Reply

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

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)



Voters Against This Link (0)