UI testing of the Logistics application.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



License: MIT Build status

Project for UI testing the Logistics application. The test is based on Selenium and is executed through Maven (installation required).

Besides Maven, the test also requires the installation of the Firefox web browser, and the use of geckodriver, for enabling Selenium to interact with Firefox. Dowload it from https://github.com/mozilla/geckodriver/releases and extract it into the project folder.

In order to run the test, execute the command mvn test -Dpage.url=<logistics_url> -Dwebdriver.gecko.driver=geckodriver, replacing <logistics_url> by the URL where the Logistics application is available. The command mvn test -Dpage.url=http://www.esign.com.br/logistics -Dwebdriver.gecko.driver=geckodriver, for example, executes the test against the instance of the application at http://www.esign.com.br/logistics.

The test opens the Firefox web browser and validates the Logistics application functionalities like it was a ordinary user, but in an automatic manner. If the page.url parameter was not defined, be sure the application is available on http://localhost:8080/logistics, the default URL.

You can also prevent the Firefox web browser from openning, by adding the option -Dheadless=true. In this scenario, everything happens in the background, you are not able to see the web application while the tests run.