Steps to Execute Test Suites
Preset the Browser:
-
Go to SharedDriver.Java
Change the value of the key = eg: firefox or chrome or IE
-
Go To RunCukesTest.Java
-
Enter the desired tag name eg:. @TEST [ refer the list of available tags in the system]
-
Right click and select "RunCukesTest.JAVA
To Run from Command Prompt :
mvn clean test -Dcucumber.options="--tags @xplore" -Dmaven.test.failure.ignore=true exec:java -Dbrowser=firefox -Dexec.mainClass="com.newsint.xplore.qa.ReportManager"
#####Available Tags for Test Execution ##################################################################
############################################################### #########################################