Maveryx is an open source test automation framework for testing the user-interface of a Java application. When the framework executes the application under test, it uses an associated launch file. This is an XML file that contains the application launch settings (e.g. main class, arguments, classpath, JRE …).
It seems to me that there should also be a field where environment variables could be specified. But I have not been able to find such a field in the user manual or online forum.
Is there any way to set environment variables for the application under test.
Note that the variables must not only be accessible to the java application under test itself, but also to any to child processes and native code libraries used by the application (i.e. via JNI).
I know I can specify environment variables in the command shell that starts the Maveryx test, but I'd rather have Maveryx do it so that it is specific to the test underway and so that the environment variables do not pollute the parent shell.
Thanks!
Aucun commentaire:
Enregistrer un commentaire