| || |
How to specify Java Properties in RobotJ application configuration?
I need to configure an application which is dependent on System properties specified through java command line option "-D". I've not be able to find a way to specify these from RobotJ help. Is there a way accomplish this.
Also, If I want an application to be launched using java instead of javaw, is there a way to make RobotJ do this.
Re: How to specify Java Properties in RobotJ application configuration?
You are suppose to be able to pass in JVM options in the Enable Environments / RunOptions dialog however I have discovered that not only does this not work but RobotJ does not save the contents of this field so that when you exit and come back in what ever you previously entered is gone.
What I ended up doing was specifying all the JVM options in a batch file and then launching the Application Under Test via a batch file.