1

I have some experience with Robot Framework + Selenium and am now learning Cucumber, since I noticed it's one of the most widely used frameworks in test automation. However, from what I've seen so far, Cucumber seems to lacks what makes RF suitable for people with no programming skills: keyword libraries.

With RF I can use a Selenium Library that already has the most common actions implemented: Go To Url, Click Button, Mouse Over, Input Text and so on. In addition, there are many other libraries with other common actions, like string handling, database access, etc. I'm just starting with baby steps in the Cucumber world, but I've not seen anything like that in the framework, meaning that I will have to implement those by writing the Selenium code myself. Is it so, or I'm missing something? Why all the fuss around Cucumber if it doesn't provide things half-way done as RF does?

  • I think both of the frameworks can be customized by adding your own keywords, so your question does not really apply – Yu Zhang Jan 28 '18 at 16:49
  • Well, you can implement your own keywords in Robot Framework, yes. But usually you can manage a good deal of testing without them, since RF presents you with almost 200 already implemented keywords ready to use. That's exactly my question: wouldn't this leave Cucumber at greate disadvantage? – Floella Jan 28 '18 at 22:38
  • Not necessarily, from my own experience, the off the shelf keywords do not always give you what you want, you will end up writing your own keywords every now and then. – Yu Zhang Jan 28 '18 at 22:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.