Why new-to-automation testers should learn UI Test Automation in Ruby first?

Ruby is easy to learn and pleasant to use, and the best choice for scripting automated end-to-end tests.

Zhimin Zhan

--

Table of Contents:
· 1. Ruby is one of the five official Selenium binding languages
· 2. Ruby was the preferred language for automated testing, and still is
· 3. Why is Ruby less used in Test Automation now?
Why did so many go for Protractor or other Java/JS library?
· 4. Team Use
· 5. TestWise Tool

1. Ruby is one of the five official Selenium binding languages

Selenium WebDriver, the dominating (and only W3C-compliant) web automation framework, has five official language bindings:

This means the implementation and syntax are similar among all five of them. For example:

Ruby:
driver.find_element(:name, "user").send_keys("WiseTester")
Java:
driver.findElement(By.name("user")).sendKeys("WiseTester")
C#:
driver.FindElement(By.Name("user")).SendKeys("WiseTester")

--

--

Responses (6)