Hi Team,
In my automation frame work(cucumber + Junit), following are some parameters set in Eclipse Run configurations.
-Dbuild.env=URL
-Dconfig.dir=C:\SVN-today\wi-test\src\main\resources
-Dcucumber.options="--tags @uat2"
-Dinstall.dir=C:\SVN-today\wi-test\src\main\resources
When i tried passing the below command in cmd, the build is getting successful but the script is not executing, Please find attached the screenshot of the command prompt result.
mvn test -Dbuild.env=URL -Dconfig.dir=C:\SVN-today\wi-test\src\main\resources -Dcucumber.options="--tags @mepoe2e --tags @uat2" -Dinstall.dir=C:\SVN-today\wi-test\src\main\resources
Could you please let me know how to pass these parameters through maven commands in command line!!!
Instructor
Ashish Thakur Replied on 03/09/2019
Is it executing with normal mvn command?