This project shows Selenium WebDriver best practices; it is a minimalistic Selenium project that makes Selenium tools easy to learn and use, and it gets the job done.
It is currently written in Java. You are welcome to fork to other languages.
Lesson 1: Selenium 2 WebDriver Waits
Lesson 2: Page Object
Teach WebDriver 2.0 best practices in 10 minutes
The project goal is to show each of the following best practices in 10 minues:
- WebDriver Wait: ImplicitWaits, WebDriverWait, and Ajax wait
- Use CSS selector
- Behavior Driven testing
WebDriver Testing Tools
Wish lists: Here are the tools I would like to add
- Excel tool for reading and writing testcases
- Take screenshot tool for errors
- File tool for reading the test setting properties.
- Show and teach a lesson in 10 minutes (simple and effective)
Easy to learn and use – so even a tester with little programming background can use it (Java is a good language for web development, but it is not the popular web development solution compare to php or ruby. Because most Java web solutions are towards for enterprise applications (humongous, and require steep learning curve to learn).
However our testing project is for an average tester not for a developer. So, let’s make easy, less technical but more practical for testing job done.)
For advanced topics: just provide information links in the further reading section.
Inspired by the following projects:
page object post
Using Page Objects