- Create a test plan (test suite) containing 5 manual test cases (tests) for testing a new account registration at http://automationpractice.com (a brand-new account creation should be covered)
- Automate 2 test cases from your test plan and explain why exactly those tests were chosen for automation.
- In automation use: Java, TestNG/JUnit and Selenium Webdriver.
- Please use Maven for project assembling.
- All automated tests should be stable (can be executed multiple times without false failures/issues.)
- Would be a plus if the implementation will include usage of:
- Java/OOP best practices
- PageObject pattern
- Tests parameterization
https://www.swtestacademy.com/selenium-webdriver-tutorial-java-testng/
https://www.selenium.dev/documentation/guidelines/page_object_models/
https://www.swtestacademy.com/page-object-model-java/
http://internetka.in.ua/selenium-page-object/ (RU)
https://kreisfahrer.gitbooks.io/selenium-webdriver/content/page_object_pattern_arhitektura_testovogo_proekta/ispolzovanie_patterna_page_object.html (
RU)
https://www.swtestacademy.com/selenium-wait/
https://www.swtestacademy.com/selenium-actions/
https://stackoverflow.com/questions/35127108/how-to-set-value-to-input-web-element-using-selenium/35127217
https://mkyong.com/junit5/junit-5-parameterized-tests/
https://stackoverflow.com/questions/13354531/maven-project-build-directory
https://stackoverflow.com/questions/49856504/maven-test-classes-custom-directory-layout
https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html
Run tests via Maven: mvn test
Or run RegistrationSuite.java with any
JUint5-compatible runner.
You can also use run configurations supplied in this repo.
There are 4 tests that should pass.
There are 2 tests from KatalonRecorderSuite.java
and 2 parametrized runs of 1 test from
RegistrationSuite.java.
The only test in RegistrationSuite is the same test as the second one in KatalonRecorderSuite, but re-implemented using
Page Object pattern.