There’s no doubt that the best way to learn any tools and technology is practice, on what could be real world problems. Our Code Drills are presented in a way that means you have to design a solution, consider the structure of your code and of course implement and test it.
The week after posting it here, we’ll add a solution to our GitHub repository. Remember, this is a solution, not necessarily the solution! Be sure to leave a comment on our Code Drill page and show the world what your solution looks like. Also, be assured we might not present the best solution! We’re definitely looking for your mentoring and ideas too.
The structure of Code Drills is:
- Problem: A brief background to the problem that requires testing
- Feature Steps: We’ve written these in the Gherkin Given-When-Then style of BDD
- Approach: Here we’ll suggest the solution that’s expected as the customer or user
- Code: That’s up to you!
- Article: When we post the code we also post a new article explaining our approach
Here’s the current list of Code Drills to date:
- Get simple code in place to run a Hello World on Google [ Code Drill | Article ]
- As above, but opening with Chrome, Firefox, IE and Edge [ Code Drill | Article ]
- Navigate across several pages [ Code Drill | Article ]
- Complete and submit a Form [ Code Drill | Article ]
- Click checkboxes and validate which is checked [ Code Drill | Article ]
- More to come…!
The Selenium Guys