Showing posts with label Ruby. Show all posts
Showing posts with label Ruby. Show all posts

Thursday, June 20, 2013

Mini Magick's Magic

~Happy Watir Day~

While running a "Watir" programs; if you get "ERROR: While executing gem ... (Errno::EINVAL) Invalid argument - C:/Ruby200/lib/ruby/gems/2.0.0/gems/mini_magick-3.6.0/tes t/files/special! "chars'.gif"...

Solution: Its so simple; do the following steps. It works...
i) gem uninstall mini_magick
ii) gem install mini_magick -v 3.5.0



Wednesday, April 25, 2012

Nature, Cucumber, Capybara & etc...

It’s been 2 days (not complete 16 hours) for me >> Started learning Cucumber. Just asked questions to most of them in my company related all the ridiculous statements & words I came through (used in Ruby/Rails/Cucumber). Yes, this is interesting.

Just started Features, Scenarios, Given, When, And, Then. As it was so difficult for me to start the basic level from installations itself, thought of posting a post regarding what are these from my understanding.

Feature - It’s used for some test scenario crowd description.
Scenario - It precedes the test name. It’s similar to Test case name.
Given - The instruction after this keyword is some prerequisite or set of connections.
When – The instruction after this keyword is some action to be made during the test.
Then - Typically precedes the instructions responsible for a range of validations
And - And is used for concatenating purpose.

Will post the basic commands in another post & thanks for the interest invoked in me related to Cucumber.