From the course: Robot Framework Test Automation: Level 1 (Selenium)

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Increase readability using Gherkin

Increase readability using Gherkin

In this final video of this unit, we're going to explore how Gherkin can potentially be used to increase the readability of your scripts. Why might we do this? Gherkin essentially is a way of writing test cases that is intended to bring business people, and development people, and QA people together in a room to collaborate. If they can all look each other in the eyes and talk about what a test case should do, ultimately, your test case is becoming an executable requirement. The Gherkin syntax might be more easily understood than the procedural approach that I showed in the previous videos. When you use Gherkin, you potentially get a more fine grained results log and that could potentially make it easier to interpret what caused a failure. So how do we use Gherkin? I'm not going to go very deep on the origin of Gherkin or anything like that because I'm considering creating a whole separate course for it. In the meantime, you could Google it, but the fundamentals are that you're going…

Contents