Reputation: 41
I want to automate testing of an e-commerce website. I installed Ruby, Watir, Gems and Ruby Mine.
Though I played around with RubyMine I could not figure how to start writing a simple script:
I would be grateful for simple documentation which helps me.
Upvotes: 2
Views: 1652
Reputation: 57312
Did you even check Watir web site? There is plenty of documentation on how to get started there.
Upvotes: 2
Reputation: 402393
Here is the sample project that is using Cucumber and Watir to open a search page, send a query and verify the results.
Gemfile
specifies the required gems, make sure they are installed or can be installed in your environment. If you are on Windows you need to install DevKit.
Upvotes: 1