We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Can we please mention a section about passing command line custom arguments and accessing same from code ?
e.g. user id and password
mvn clean verify -Dtest.email="[email protected]" -Dtest.password="$pass$"
System.out.println(System.getProperty("test.email")); System.out.println(System.getProperty("test.password"));
Thanks & Regards, Vikram
The text was updated successfully, but these errors were encountered:
see https://serenity-bdd.github.io/theserenitybook/latest/environment-specific-config.html you can access environment variables with the environment variables class
Sorry, something went wrong.
No branches or pull requests
Hi,
Can we please mention a section about passing command line custom arguments and accessing same from code ?
e.g. user id and password
mvn clean verify -Dtest.email="[email protected]" -Dtest.password="$pass$"
System.out.println(System.getProperty("test.email"));
System.out.println(System.getProperty("test.password"));
Thanks & Regards,
Vikram
The text was updated successfully, but these errors were encountered: