Robot Framework claims to be:

a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD). It has easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach.

My first impression is that there will be challenges in maintaining tests that combine natural-language text files with real code (as in Fit, Fitnesse) comparing to tests written purely in code. However, that's my only first impression.

Are tests written in Robot Framework easy to maintain? Why yes? Why not?

1 Answer 1


Like most software, they are easy to maintain when written well, and hard to maintain when written poorly. In that respect, robot tests are no different from code in any other language. That being said, I think that robot makes it easy to write bad tests.

I've worked on teams where they were difficult to maintain. This is because they were largely written with predefined keywords, were poorly organized, and used bad programming practices.

I've also worked on teams where they were relatively easy to maintain. We used a page object pattern, and nearly all of the keywords for each page were written in python. This made the tests exceptionally easy to read, and also easy to maintain. By using python based keywords, you had all of the power of a real programming language so you didn't have to get creative with robot's limited set of programming constructs. This lead to tests that were extremely easy to read, which leads to being easier to maintain.

Writing maintainable tests, much like writing maintainable code in any language, requires discipline.

  • 1
    @dzieciou: I think the RED editor (based on eclipse) supports some form of debugging. Commented Oct 4, 2018 at 14:54
  • Thanks, I've move my question on debugging to a separate post: sqa.stackexchange.com/questions/35918/….
    – dzieciou
    Commented Oct 4, 2018 at 14:59
  • I guess for teams with more programming experience, where Python or Java are lingua franca, tests written in pure Python or Java might be more natural and easier to write, read and maintain. That's might be my bias is not favouring Robot ;-)
    – dzieciou
    Commented Oct 4, 2018 at 15:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.