This project contains a number of tutorials that use the seleniumeasy.com demo website.
There are a series of classes with pending tests that you will need to complete.
The solutions
packages contain sample solutions using pure Selenium and Serenity BDD.
- Starting Class (Selenium): TestingInputForms
- Starting Class (Serenity BDD): TestingInputForms
- Sample Page: https://www.seleniumeasy.com/test/basic-first-form-demo.html
- Enter a message in the Single Input Field and check that it is shown
- Enter a number in each input field, click on "Get Total", and verify the calculated total
- Starting Class (Selenium): TestingCheckboxes
- Starting Class (Serenity BDD): TestingCheckboxes
- Sample Page: https://www.seleniumeasy.com/test/basic-checkbox-demo.html
- Click on the first checkbox and check that a success message is displayed
- Click on all the checkboxes and ensure that the button text is "Uncheck All"
- Starting Class (Selenium): TestingRadioButtons
- Starting Class (Serenity BDD): TestingRadioButtons
- Sample Page: https://www.seleniumeasy.com/test/basic-radiobutton-demo.html
- Click on the second radio and click on 'Get Checked Value' - check that the correct text is displayed.
- Starting Class (Selenium): TestingDropdowns
- Starting Class (Serenity BDD): TestingDropdowns
- Sample Page: https://www.seleniumeasy.com/test/basic-select-dropdown-demo.html
- Select a day and check that the result is correctly displayed
- Select several entries in a list
- Starting Class (Selenium): TestingJQueryDropdowns
- Starting Class (Serenity BDD): TestingJQueryDropdowns
- Sample Page: https://www.seleniumeasy.com/test/jquery-dropdown-search-demo.html
- Click on the dropdown and enter 'Ne', then select 'New Zealand' in the dropdown
- Enter 'Ca' and select California, then enter 'Ari' and select Arizona. Check that both appear as selected in the list
- Starting Class (Selenium): TestingAjaxForms
- Starting Class (Serenity BDD): TestingAjaxForms
- Sample Page: https://www.seleniumeasy.com/test/ajax-form-submit-demo.html
- Enter a name and comment, and wait until the success message appears