The project practices Java with selected Selenium test scenarios using the test practice sites:
- http://suvian.in/selenium - no longer active.
- http://www.way2automation.com
and misc. standalone examples found on
- https://www.skyscanner.com
- https://embed.plnkr.co/
- https://datatables.net/examples/api/form.html and https://datatables.net/extensions/rowgroup/examples/initialisation/customRow.html(https://datatables.net/examples/api/form.html)
- https://select2.github.io/examples.html
- http://phppot.com/demo/jquery-dependent-dropdown-list-countries-and-states/
- http://jqueryui.com/datepicker/#buttonbar
- http://demos.telerik.com/kendo-ui/grid/index
- http://antenna.io/demo/jquery-bar-rating/examples/
- http://www.seleniumeasy.com/test
- https://v4-alpha.getbootstrap.com/components/forms/
- fjasonrobot/FancyWaiting
Project uses profiles to supports several browsers, possible to select through profile. The detauls browser is chrome
.
mvm -P[chrome|edge|firefox] test
Project exercises writing the property file into the target
directory with converting the environment variable TEST_PASSWORD
into
the property file entry:
export TEST_PASSWPORD='super secret'
mvn -Pproperties test
grep password target/classes/test.properties
password=super secret
Note: when not set, it will not become blank, but rather the literal expression used in the pom.xml
unset TEST_PASSWORD
mvn -Pproperties clean test
# if password is crucial for the test, the test will fail
grep password target/classes/test.properties
password=${env.TEST_PASSWORD}
- stackoverflow
- seleniumcapsules
- ahussan/Java8LamdaExpressionAndStreamAPITest
- sskorol/selenium-camp-17
- cssSelector advantages review
- JQuery to vanilla JavaScript DSL conversion rules
- Elemental Selenium Tips repo
- at.info test automation examples on different tools and technologies (in Russian and Eglish )
- KB of xpath, locators, css-selectors (in Russian)
- https://abstracta.us/blog/software-testing/best-demo-websites-for-practicing-different-types-of-software-tests/
- https://www.techlistic.com/2020/07/automation-testing-demo-websites.html
- list of existing headless web browsers