Robot Framework Best Practices for Maintainable Tests
Robot Framework makes it easy to write tests. Writing tests that stay readable and reliable as the suite grows takes a few deliberate habits. Here are...
Read moreRobot Framework makes it easy to write tests. Writing tests that stay readable and reliable as the suite grows takes a few deliberate habits. Here are...
Read moreAs a web suite grows, selectors and steps for the same page end up scattered across dozens of tests, and every redesign becomes a hunt. The page objec...
Read moreWhen you need to check the same behaviour against many inputs, copying a test and changing one value is a waste. Data-driven testing runs one test acr...
Read moreAs a suite grows, you rarely want to run everything every time. Tags let you label tests and then run just the ones you care about, such as a quick sm...
Read moreA flaky test passes one run and fails the next, with nothing having changed. It is worse than a test that simply fails, because it teaches the team to...
Read moreEvery test should start from a known state and leave the world tidy when it finishes. Setup and teardown are how Robot Framework does both, and unders...
Read moreRobot Framework's syntax is built to be readable, and a handful of rules explain most of it. Here are the ones that make a test file click into place....
Read moreNot every test needs a browser. A lot of what an application does happens over an API, and Robot Framework tests those just as readably with RequestsL...
Read moreThe moment your tests start repeating themselves is the moment to reach for user keywords and resource files. Together they turn a pile of similar tes...
Read moreVariables are how you avoid repeating yourself and how you pass data around a test. Robot Framework has three kinds, each marked by its own symbol, an...
Read moreIf you are automating the web with Robot Framework today, the Browser library is the modern choice. It is built on Playwright, which means fast, relia...
Read moreThese three come up together because they all help you write automated tests, but they take very different routes to get there. pytest is code-first....
Read moreWith so many test automation tools competing for attention, it is fair to ask whether Robot Framework earns a place on your learning list. The short a...
Read moreMost flaky web tests are not the framework's fault. They fail because the selector, the way you point the Browser library at an element, breaks the mo...
Read moreKeyword-driven testing is the idea behind Robot Framework. Once you understand it, the readable syntax and the reusable keywords follow from one desig...
Read morePlaywright has become one of the most popular ways to automate a browser, so it is a fair question whether you should learn it or Robot Framework. As...
Read moreThe quickest way to understand Robot Framework is to run something. This post takes you from an empty machine to a passing test in a few minutes, and...
Read moreIf you work with Robot Framework, you have probably wondered whether it is worth putting a certification next to it on your CV. RFCP is that certifica...
Read more"Robot Framework or Selenium?" is one of the most common questions from testers picking up automation, and it contains a hidden mistake. The two are n...
Read moreIf you have looked into test automation, you have probably seen Robot Framework mentioned next to tools like Selenium, Cypress and Playwright. It sits...
Read more