I am planning to learn selenium, what would be the best language to learn along with selenium?
Perl or Ruby or others?
I am planning to learn selenium, what would be the best language to learn along with selenium?
Perl or Ruby or others?
This question seems a little misguided. You use Selenium to test web applications.
Those web applications may be written in Ruby, Perl, PHP, Python or whatever web framework you want.
You can see the full list of supported languages and associated frameworks here:
http://seleniumhq.org/about/platforms.html#programming-languages
Java obviously has certain advantages for testing with Selenium - the most obvious is that you can instantiate the remote control server easily in-process and not needing to have two separate apps running. It's also a bit easier to extend Selenium in Java.
Aside from that, though, you can use Selenium easily with any of the supported languages, and if you have to you can write a new driver if you want to use an unsupported language. So the "best" language for you to write Selenium tests in is the language you are most comfortable with.
Personally, I'm using Ruby, but that's because I'm using Selenium from Cucumber and RSpec - both of which are Ruby tools.
If you're asking what language is best for writing Selenium tests, the answer is Java for Selenium 1.0. There are a bunch of corner-case operations that are only implemented in the Java client, even though Selenium is supposedly client-language-neutral. This is a natural outgrowth of the fact that the developers are primarily Java folks.
For Selenium 2.0, Java is still the best answer, because the Java client code is the first written and the standard for correctness. But the .NET (e.g., C#) and Python clients have pretty aggressive support as well. There are other languages, but they're lagging a bit.
hi friend...could you explain .execute selenium rc test suite with ruby through command prompt...i done test case but not test suite......