After writing the first post on Ruby and why Ruby can be a good choice for the testers to start programming, now I will shift to selenium automation. Though the blog is dedicated to selenium community and will cover bite of selenium automation concepts, but I would prefer to stick to Ruby and Java as the medium of test implementation, the understood reason here being comfort :)
I have programming experience mostly in Ruby and Java, and I would like to focus more on Selenium with Ruby than Java with Ruby. Well, it is just a matter of choice to choose a language for Automation in Selenium as Language don't Matter here. It's well known that Selenium drivers supports a wide range of programming language- C#, Java, JavaScript, Objective C, Perl, Php, Phython, Ruby and some other lesser known languages.
If you see it is really an advantage selenium have over other automation tools that you are not bound to a particular language if you want to automate your tests. Simply, you don't have to learn another language. And mind it, that's really a big thing especially for tester who take initiative of learning a new language.
When I started coding years back, I used to think why we code that much, why the syntax matter too much, why am i need to remember all the code (though I stopped thinking on it once I learned about IntelliSense). Having said that if I look at the features Ruby give me as a programming language, I get most of my question answered, the answer being we need not! So, it gives you a high level programming syntax much more simple than strongly typed languages such as Java or C#. Moreover, it's a pure object oriented language and yes! everything in Ruby is an object, whether it is s variable or a method. And, if someday you eventually switch to web development, Ruby gives you the power that other languages lack, it being simple, less messy and more organised.
Not going farther and coming back to the point, I would point that automation in selenium is not restricted to your knowledge of a particular programming language and can be done in many languages. I would like the explore the tasty bites of selenium in the world of Ruby through my blog here. So, get connected and look out for more post on Ruby.
If you see it is really an advantage selenium have over other automation tools that you are not bound to a particular language if you want to automate your tests. Simply, you don't have to learn another language. And mind it, that's really a big thing especially for tester who take initiative of learning a new language.
When I started coding years back, I used to think why we code that much, why the syntax matter too much, why am i need to remember all the code (though I stopped thinking on it once I learned about IntelliSense). Having said that if I look at the features Ruby give me as a programming language, I get most of my question answered, the answer being we need not! So, it gives you a high level programming syntax much more simple than strongly typed languages such as Java or C#. Moreover, it's a pure object oriented language and yes! everything in Ruby is an object, whether it is s variable or a method. And, if someday you eventually switch to web development, Ruby gives you the power that other languages lack, it being simple, less messy and more organised.
Not going farther and coming back to the point, I would point that automation in selenium is not restricted to your knowledge of a particular programming language and can be done in many languages. I would like the explore the tasty bites of selenium in the world of Ruby through my blog here. So, get connected and look out for more post on Ruby.