Record/Playback in Test Automation is Bad, mostly.

Avoid using record-n-playback tools. Hand-craft automated test scripts instead.

Zhimin Zhan

--

This article is one of the “IT Terminology Clarified” series.

In Automated End-to-End Testing, many so-called ‘cool’ features (as below) are either counter-productive or unnecessary:

The Record/Playback approach to test automation has been controversial for decades. I recall from my experience attending software testing conferences (2009–2013) and informal meetups that the survey results consistently revealed that testers generally dislike this method. Despite this, record-n-playback continues to resurface in various forms.

Often, I was tasked to rescue a failed test automation project implemented using inappropriate tools such as QTP, Ranorex, RFT, and Tosca. When I asked why these tools were selected, the response was always the same: “Because they can record automated test scripts.”

While it is true that recording tools make it easier to create automated test scripts, there is usually a significant downside unless the test scripts are only intended for…

--

--