Skip to main content
1 vote

Test Automation framework built using Java, Selenium, Cucumber and Maven. How to execute the tests based on env.properties file?

You still need to pass the argument: You mvn install command doesn't do this. But you don't need surefire for this. You can simply run: mvn install -Denv='qa' or mvn install -Denv='uat' Then System....
João Farias's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible