Sometimes, it is helpful to manually write your scripts instead of recording them. Cases such as integrating your test plans with a continuous integration build server, or being able to debug your test plans from the comfort of an Integrated Development Environment (IDE) benefit mostly from this.
Thankfully, there is a Ruby gem that provides a readable and concise DSL, allowing you to write test plans using the Ruby programming language.
In this recipe, we will go over how to do just that. Perform the following steps: