Convert Selenium-RSpec Test Script to Another Framework/Language with a Script

A utility that I use to generate test scripts in other frameworks/languages quickly, from the Selenium-RSpec ones.

Zhimin Zhan

--

My high efficiency astounded the POC panel in a few test automation Proof of Concept (POC). I completed a task initially planned for a three-month timeline in just a few days, typically 3–5 days. The reason: I developed raw Selenium + RSpec in TestWise, a methodology I’ve been employing since 2011.

Then, more often than not, some senior engineers would sabotage it (why? an upcoming article will explain) by asking me to implement it in another framework or language, such as Java or JavaScript. I completed those unnecessary tasks (reimplementing the test scenario in another language) in one or two days. How? I wrote a convertion script (in Ruby) to convert Selenium RSpec test scripts to another. This is automation, IMO, also under the scope of Test Automation.

This article answers one reader’s question: “Could you please explain this sentence (did it in Selenium Ruby first using TestWise with 10X+ productivity, then convert it to another framework)? Wouldn’t it be duplicate work? How to convert tests in one language to another language?

--

--

No responses yet