Chief Product Officer at InfoDesk·
Needs advice
on
CypressCypress
and
Robot FrameworkRobot Framework

In which situations should we use Cypress or Robot Framework? Are both good choices to get tenured manual testers into the practice of automating their work for tests of APIs and functional tests of web applications? Cypress looks great for functional testing of web applications and Robot Framework looks great for everything else.

Background: We have over a thousand functional test cases for our web applications being executed manually by a QA team. Our front ends interface with APIs written in Java with various frameworks over the years (e.g. Spring, Spring Boot, Java EE). I think our testers could learn enough of the basic coding in JS, Java, and Python required to automate most of those cases.

READ LESS
5 upvotes·87.4K views
Replies (1)

Both Cypress and Robot Framework are solid tools, but they serve slightly different purposes, and the choice often depends on the skills of your QA team, your tech stack, and the long-term goals for test automation.

Cypress: Best for Functional Web Testing Cypress is an excellent choice for end-to-end functional testing of modern web applications, especially with JavaScript-heavy front ends (like React, Angular, or Vue). If a large portion of your thousand functional test cases are web UI-based, Cypress will:

Provide a fast, browser-native testing experience.

Allow testers to write and debug tests easily with a rich developer-friendly UI.

Offer automatic waits, retry-ability, and deep DOM control.

However, Cypress has some limitations:

Limited support for cross-browser testing (though improving).

Not ideal for API-first testing or systems that require more than browser-level access (like CLI, mobile, databases, etc.).

That said, testers with some JavaScript knowledge (or even beginner-level) can be productive quickly with Cypress, especially if they focus on UI automation.

Robot Framework: Broad, Keyword-Driven Automation Robot Framework, on the other hand, shines when:

You're testing APIs, services, or integration layers.

You want a keyword-driven approach that is more readable and less "code-like".

You're working with various back-end services (e.g., REST, SOAP, databases, filesystems, etc.).

It's more versatile for testing beyond the web UI and integrates well with Python libraries, Java, and others. Robot Framework might be better if your testers aren't yet confident with JavaScript or if you have API-heavy applications that need deep validation beyond the UI layer.

For Manual Testers Transitioning to Automation Since your QA team has been manually executing tests and interfaces with Java-based APIs, consider the following hybrid approach:

Start with Robot Framework: Its readability and keyword-driven format make it beginner-friendly. Testers can start automating API tests quickly using the RequestsLibrary or RESTinstance, with minimal Python knowledge.

Introduce Cypress gradually for UI automation. It's great for fast feedback on UI changes and is very popular in modern frontend CI pipelines.

Suggested Strategy: Use Cypress for web UI regression suites, especially high-traffic or high-risk workflows.

Use Robot Framework for backend/API validation, system integrations, or even cross-platform scenarios.

Upskill testers gradually—start with Robot Framework for ease of use, then move to Cypress or even native code frameworks as confidence grows.

READ MORE
Accelerate Business Efficiency with Robotic Process Automation (RPA) Services | S-Square (s-squaresystems.com)
3 upvotes·35 views
Avatar of Brett Bonner

Brett Bonner

Chief Product Officer at InfoDesk