Skip to content

Codeless test automation: cheap to start, costly to scale

Mikhail Bodnarchuk6 min read

Codeless test automation is a way to create automated tests without writing code: you record your actions in the browser, assemble steps in a visual editor, or write plain-language steps that a tool turns into a test. It is quick to start and lets non-programmers automate, but the evidence says recorded tests cost more to maintain, so code-based frameworks usually win once a product ships two or more releases. In one controlled study, coded tests took 32% to 112% longer to build but were 16% to 51% cheaper to maintain (Leotta et al., 2013).

What is codeless test automation?

The International Software Testing Qualifications Board (ISTQB) describes the classic form as capture/playback: a tool records what a tester does and produces a script. "The tools that do not expose code are sometimes referred to as no-code test automation, while the tools exposing code are referred to as low-code test automation" (ISTQB CTAL-TAE v2.0, 2024).

Today the label covers four kinds of tool:

  • Record and playback. Selenium IDE is the open-source example: "record and playback test automation for the web".
  • Visual or keyword editors. You pick steps such as "open page", "click", "check text" from a list or table.
  • Plain-language steps. You write "log in as admin and open the invoices page" and the tool maps it to actions.
  • AI-generated tests. An agent explores the app and writes the test for you, then repairs it when the app changes.

How does codeless test automation work?

Every approach has to find elements on the page, act on them and check the result. The difference is who decides how. A recorder picks locators for you. Selenium IDE "records multiple locators for each element" and tries the others if one fails during playback. Playwright's recorder "will look at your page and figure out the best locator, prioritizing role, text and test id locators", then hands you a code file to "inspect" and "manually improve" (Playwright).

Locator choice is where tests break. In the 2013 study, after one release upgrade 60% of XPath locators had to be repaired, against roughly 12% to 20% of name, link text and CSS locators and 2% of ID locators, with similar figures for coded and recorded suites (Leotta et al.). Whether a tool is codeless matters less than whether someone designs stable locators and shared steps.

ISTQB's comparison of approaches sums up the trade-off:

Ways to build automated tests: strengths and weaknesses

Ways to build automated tests: strengths and weaknesses
CriterionWho can write testsMain strengthMain weakness
Capture/playback (no-code or low-code)Testers with little or no programming experienceInitially easy to set up and useHard to maintain, scale and evolve; feasible only for a small scope and a rarely changing app
Linear scriptingSome programming knowledgeEasy to start; easier to modify than recordingsStill hard to maintain, scale and evolve
Structured scripting (reusable test libraries)ProgrammersEasy to maintain, scale, port, adapt and evolveNeeds upfront investment in the framework
Keyword-drivenTest and business analysts, with engineers maintaining keywordsNon-programmers can create automated testsKeywords become complex to maintain as scope grows; heavy for small systems

Source: ISTQB, Certified Tester Advanced Level Test Automation Engineering syllabus v2.0 (May 2024), section 3.1.4

What does the evidence say about maintenance cost?

The best controlled comparison is still the University of Genoa study of six open-source web applications, which built the same tests in Selenium IDE (recorded) and Selenium WebDriver (coded) and then repaired both after a new release. Coded suites took longer to build, with a median cost ratio of 1.58, but repairs were cheaper, with a median ratio of 0.65 (Leotta et al.). In five of six applications the coded suite became cheaper overall after one to three releases; the authors conclude that for "any software project which is expected to deliver 2 or more releases over time", coded tests pay back (WCRE 2013). The tools are older and the sample is small, so read it as direction rather than a forecast.

Recorded vs coded web tests: minutes to build and to repair after one release

Recorded vs coded web tests: minutes to build and to repair after one release
CriterionBuild: recordedBuild: codedRepair: recordedRepair: coded
MantisBT18138311395
PPMA68987155
Claroline1612399446
Address Book771539254
MRBS7913312072
Collabtive29138311479

Source: Leotta, Clerissi, Ricca, Tonella, WCRE 2013, Tables II and III (Selenium IDE recorded vs Selenium WebDriver coded; six open-source web apps)

Newer codeless tools narrow the gap. A 2023 follow-up by the same group compared a plain-language (NLP-based) tool with coded and recorded tests and found it "competitive for small- to medium-sized test suites", with the lowest total cost in their study and no programming skills needed (Leotta et al., 2023). Before it, the authors note, the superiority of NLP-based tools "has never been empirically validated" (Journal of Software: Evolution and Process).

When does codeless test automation fit, and when is a code-based framework better?

ISTQB's own advice is that when "testers have little to no programming experience, using a low-code or no-code solution may be a viable choice", and that capture/playback is "only feasible for a small scope and an SUT that rarely changes".

Codeless fits when:

  • the suite is small or medium and covers a stable product;
  • the people who know the business rules cannot write code and nobody else will maintain the tests;
  • you need smoke tests for a legacy or third-party app you do not develop;
  • the tests are short-lived, such as a one-off migration check.

A code-based framework fits better when:

  • the product ships often and the suite will live for years;
  • you need shared steps, page objects, test data setup and API calls in the same test;
  • tests must run in CI on every change, in parallel, across browsers and devices;
  • you want tests in version control, reviewed like code, with no vendor lock-in.

Code-based does not have to mean hard to read. Our founders created CodeceptJS and Codeception so that scenarios read like user steps, such as I.amOnPage('/login'), while staying real code your team owns.

How is AI changing codeless and code-based testing?

AI is closing the gap from both sides. Playwright now ships three test agents: a planner that "explores the app and produces a Markdown test plan", a generator that turns the plan into test files and checks selectors live, and a healer that "executes the test suite and automatically repairs failing tests" (Playwright). CodeceptJS uses an AI provider to "assist writing tests" in interactive mode and to "self-heal failing tests", which can run on CI (CodeceptJS).

So you can get codeless speed of creation and still keep code. Two cautions:

  • Healing can hide bugs. Playwright's healer can return "a skipped test if the healer believes that functionality is broken". Review every healed or skipped test, because a changed button may be a regression, not a locator problem.
  • AI sees your pages. CodeceptJS warns that its "AI features require sending HTML contents to AI provider". Check that with your security team.

For testing AI features themselves, see what is AI testing.

What drives the cost of codeless test automation?

License price is only one line of the bill. ISTQB lists the cost factors for any automation strategy, starting with the timeline, then expertise, hardware, tool licenses, adaptability, maintenance, platform support, CI/CD support and reporting (ISTQB CT-TAS). For codeless tools, also price in:

  • Maintenance per release, the cost the evidence above says grows fastest;
  • Per-user or per-run pricing as the suite and team grow;
  • Exit cost: can you export tests in a format another tool can run?
  • CI and environment setup, which no recorder removes;
  • Review time for AI-generated and healed tests.

What mistakes do teams make with codeless test automation?

  • Recording everything. Hundreds of recorded end-to-end tests with no shared steps become a repair job every release.
  • Accepting default locators. Add stable test ids to the app instead.
  • Treating "no code" as "no engineering". Someone still designs data, environments and structure.
  • Trusting self-healing blindly. A healed test that passes can mask a real defect.
  • Ignoring lock-in. Check export before you have a thousand tests.

How SDCLabs can help

SDCLabs founded the open-source testing frameworks Codeception and CodeceptJS and has built software since 2011. Our QA and test automation team audits your current suite, codeless or coded, and tells you what to keep, what to rewrite and where AI can draft tests. AI agents draft test cases, senior QA engineers keep only meaningful tests, and every suite runs in CI. For AI features and LLM output, our AI testing services add evaluation sets and regression runs. Engagements start in 1 to 2 weeks. Send us your test suite and we will show you what it costs to keep.

Related reading: what is test automation.

Frequently asked questions

What is codeless test automation?

Creating automated tests without writing code: recording browser actions, assembling steps in a visual editor, or writing plain-language steps a tool turns into tests. ISTQB calls tools that hide code no-code and tools that expose it low-code (ISTQB).

What are the best codeless test automation tools?

It depends on your suite and team. Open-source recorders include Selenium IDE and Playwright's test generator, which records actions into editable code (Playwright). Judge any tool on locator quality, export format, CI support and maintenance cost per release.

How does self-healing test automation work?

When a test fails, the tool inspects the page, looks for an equivalent element or flow, patches the step and reruns it. Playwright's healer agent does this and may skip a test if it believes the feature is broken (Playwright); CodeceptJS runs heal recipes and AI healing (CodeceptJS). Review every healed test.

Is low-code test automation the same as codeless?

Close, but not the same. In ISTQB's terms, no-code tools do not expose the generated test code, while low-code tools let you see and edit it.

Is codeless test automation cheaper?

Cheaper to start, not always to keep. In a 2013 study of six web apps, coded tests took 32% to 112% longer to build but were 16% to 51% cheaper to maintain, and usually cheaper overall after one to three releases (Leotta et al.).

#test-automation#codeless-testing#self-healing-tests#codeceptjs
Mikhail BodnarchukMikhail BodnarchukFounder of Codeception and CodeceptJSBoth are open-source testing frameworks: Codeception for PHP, CodeceptJS for JavaScript.LinkedInGitHub

Related posts

Get an estimate for your product.