Automation Testing Using Java, Selenium and Cucumber
selenium-cucumber is a behavior driven development (BDD) approach to write automation test script to test Web. It enables you to write and execute automated acceptance/unit tests.
Go to your project directory from terminal and hit following commands
mvn test (defualt will run on local firefox browser)
mvn test "-Dbrowser=chrome" (to use chrome browser)
Go to your project directory from terminal and hit following commands
mvn test (defualt will run on local firefox browser)
mvn test "-Dbrowser=chrome" (to use chrome browser)