Member-only story

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
9 min readSep 23, 2022
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")

--

--

Zhimin Zhan
Zhimin Zhan

Written by Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.

Responses (6)