Now that we know how to navigate across multiple pages, complete a simple form and confirm it was sent successfully using various browsers – let’s check we can interact with the many kinds of standard form elements we might encounter.
Problem: As forms have a number of standard elements in common use we need to confirm we can interact with them.
Given there is a form with a collection of standard form elements
When we interact with each of them in a typical way
Then all can be used as would commonly be expected
Approach: Standard web form elements such as a Text Field, drop-down, check-box, radio-button, clear button, submit button – should be used via our script
Code: See our Code-Drills repository on GitHub for a suggested solution
Article: Read the article where we discuss our code solution to the Code Drill.
The Selenium Guys