Why JavaScript Is Not a Suitable Language for Real Web Test Automation?

JavaScript is OK for developing apps, but not for functional test automation, where its audience is beyond programmers. Ruby is a far better choice.

Zhimin Zhan
14 min readApr 15, 2021

--

This article is one of the “Be aware of Fake Test Automation/DevOps Engineers” series.

from tweet: https://twitter.com/daboigbae/status/1697836752763789690

I know many JavaScript programmers/testers won’t like the title of this article. However, this is the truth from my over 15 years of observation while working in test automation. Some would argue that JS-based test automation frameworks are gaining popularity. Yes, it might be true. However, when you take the fact that most test automation failed, this recent popularity of JS-based test automation frameworks does not mean much at all.

“95% of the time, 95% of test engineers will write bad GUI automation just because it’s a very difficult thing to do correctly. ”
— Alan Page (author of ‘How We Test Software at Microsoft’ book) in an interview ‘Testing Lessons Learned at Microsoft with Alan Page’ (2015–03–17)

--

--

Zhimin Zhan

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