Wrapping things up and introducing WatirSplash
I’m at the end of writing about most of the ideas i’ve got during the usage of Watir and RSpec in 3+ years and how to use them together for browser based user interface testing. Here is the list of posts from the oldest to the newest on that topic:
- Basic Example of Using Watir and RSpec
- The Beginning of Watir’s RSpec HTML Formatter
- We Need More to be Shown in The Reports?!
- Capturing JavaScript Errors With Watir
- Getting Rid of Global Variables
- Using Modules and Methods Within Specs
- Getting Rid of Two Problems
- Writing Less Code in Watir/RSpec Specs
- Writing Less Code in Watir/RSpec Specs, Part II
- Writing Less Code in Watir/RSpec Specs, Part III
I recommend to read them all if you’ve not done it already.
Most of these ideas are also included in my bachelor’s thesis called “Web Applications’ User Interface Based Testing Automation”. Unfortunately, for most of the readers, it’s written in Estonian, but on the page 49 is an English summary. Also used literature chapter starting on page 51 and appendixes (pg 54) could give you some overview or directions on that topic. Feel free to also ask any questions you might have.
As also mentioned in the thesis itself then all these ideas grew into one usable Ruby gem called WatirSplash which you can easily install by:
gem install watirsplash
I’m gonna write in more detail about WatirSplash in some of my future posts for sure! So don’t forget to follow me on Twitter and/or subscribe to my RSS feed!




1 year ago
