How to Run Selenium Maven Project from Console/Command line

preview_player
Показать описание
#selenium #maven #MavenCommands

Please do subscribe for more tutorials on selenium automation @SH Study Tech

Please share questions and queries in the comments section.

Рекомендации по теме
Комментарии
Автор

I’m getting problems while using POM + TestNG testlistener for test groups like smoke etc. some how manage to resolve by adding <test resources > in pom and always run for before class and method.
but not sure is it proper way or not.

my final cmd is:
mvn clean test -Denv=qa -Dgroups=smoke

ParagOak
Автор

I would like a jar file that need to run the selenium from command prompt. I am using the java -jar <jar filename generated by mvn package>. But not success. Could you please help me

gyanendrakumarbehera
Автор

Executiins are failed, it is stating as 1.compilation error
2.project path cannot aventstackreport
3. Bad class file.
Please help me to resolve this issues. Thank you...

gvnsashidhar
Автор

Failed to execute goal (default-testCompile) on project IDLA: Fatal error compiling: Unable to make field private


I got this error when try to execute the same command on cmd, please help to resolve this issue or made a video on this issue.

RishabhTripathi-tlle