Selenium UI Test for a sample form using 3 tests.
Scenario 1: Click on the checkbox and check if it is selected.
Scenario 2: Enter a number bigger than 10 and check if an error message appears, then enter a number between 0 and 10 and check if the error message disappears.
Scenario 3: Click Submit button with a required field being empty and check if an error message appears, then fill that field and submit again and check if the form got submitted.