Visit The Website that we will test
To start run this tests or develop more scripts, you must have the following
- Fork, Clone, or Download this project
- Java 11 setted in your system
- Maven setted in your system
- Install Allure Framework CLI in your system for the reporting.
- Open a terminal/command prompt/git bash/etc where the pom.xml file is located and run
mvn clean install
- CD into the target directory that will be generated
- Give some execution rights to the launch-test.sh file
chmod u+x ./launch-test.sh
- Run the tests
#run all of them
./launch-test.sh
#run one whole suite
./launch-test.sh TS_UI_LOGIN
#run only one specific test case
./launch-test.sh TS_UI_LOGIN TC_UI_LOGIN_001
If you want to run the test with the latest drivers download them from the below links provided and move the files in the propriate directories inside the /main/resources/drivers
directory.
If you want to run the test in a portable browser instance download them from the below links provided and move the files in the propriate directories inside the /main/resources/binaries
directory.
You have to be careful about the versions of webdriver you download and the portable or your installed browser to match. Otherwise you will some errors and the tests will not run.
In order to develop more scripts to your convience just import the project to one of your favourite IDE and keep coding.