Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How will autotest see the application under test? #50

Closed
workmichsem opened this issue Nov 4, 2019 · 0 comments
Closed

How will autotest see the application under test? #50

workmichsem opened this issue Nov 4, 2019 · 0 comments

Comments

@workmichsem
Copy link

workmichsem commented Nov 4, 2019

Hey.
How will autotest see the application under test?

My situation is very similar to mrif0393. (#45)
The only file related to the application under test is .jnlp.
There is application-desc main-class = "bo.Main" in .jnlp
The .jnlp file is on par with the autotest class

If you run only
application ("bo.Main"). start ();
That answer will be org.assertj.swing.exception.UnexpectedException: Unable to load class 'bo.Main'

If first I run .jnlp myself to see the UI, then the result is the same.

public static void start () {
         Desktop desktop = Desktop.getDesktop ();
         try {
             desktop.open (new File ("%some path%/file.jnlp"));
         } catch (IOException e) {
             e.printStackTrace ();
         }
     }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant