upgrade from old org.loadui testfx

35 views
Skip to first unread message

Kay Pac

unread,
Jul 3, 2016, 12:48:57 AM7/3/16
to TestFX
I am trying to upgrade from org.loadui.testfx artifact, and it is clear I need to revamp all of my code. When I try to extend "ApplicationText" I get a message (in intellij idea) that says "class file for org.testfx.api.FxRobot not found," but I can navigate to the class in my IDE and I have published the artifacts built from git source to my local maven cache. The timestamps are up-to-date on the artifacts, also. I am using jdk 1.8.0_91 for both the compilation with gradle of the testfx and for the compilation of my application.

can anyone assist with this?

Benjamin Gudehus

unread,
Jul 3, 2016, 5:21:15 AM7/3/16
to Kay Pac, TestFX

Have you tried to clear the index of IntelliJ and restart (it's somewhere in the file menu)? From what you describe the core and junior dependency of TestFX are referenced in your maven/gradle file.

You could also take a look into TestFX-Playground on GitHub. Sorry, I'm traveling through Czech republic and only have mobile connection.

On Jul 3, 2016 6:48 AM, "Kay Pac" <kmjs...@fastmail.fm> wrote:
I am trying to upgrade from org.loadui.testfx artifact, and it is clear I need to revamp all of my code. When I try to extend "ApplicationText" I get a message (in intellij idea) that says "class file for org.testfx.api.FxRobot not found," but I can navigate to the class in my IDE and I have published the artifacts built from git source to my local maven cache. The timestamps are up-to-date on the artifacts, also. I am using jdk 1.8.0_91 for both the compilation with gradle of the testfx and for the compilation of my application.

can anyone assist with this?

--
You received this message because you are subscribed to the Google Groups "TestFX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testfx-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kay Pac

unread,
Jul 3, 2016, 6:06:12 PM7/3/16
to TestFX
I had an XML parse error in my pom.xml that wasn't apparent to me from within IntelliJ IDEA - running mvn from command line illuminated the error.

I got another error related to being unable to find guava classes - I see that guava is a runtime dependency in the testfx-core POM but I was forced to add it as a compile dependency in order to build one of my test classes, when extending ApplicationTest.

Thanks!

Kay
Reply all
Reply to author
Forward
0 new messages