How to integrate Cucumber Feature file (written in Gherkin) with Robot framework.

170 views
Skip to first unread message

Sameer

unread,
Dec 27, 2018, 6:09:15 AM12/27/18
to robotframework-users
Hi,
Can we integrate Cucumber Feature file (written in Gherkin) with Robot framework.
E.g. if I have a feature file(Gherkin), can I use the same with Robot framework so that Given, When, Then steps are present.

Dmitriy Chernoshey

unread,
Dec 27, 2018, 5:10:18 PM12/27/18
to sameer...@gmail.com, robotframework-users
Yes, you absolutely can. In fact, most of our company's Robot tests are written this way. 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Dmitriy Chernoshey

unread,
Dec 27, 2018, 5:13:25 PM12/27/18
to sameer...@gmail.com, robotframework-users
In Robot, you can either import a file with implementations of your Gherkin steps, or you can write implementations directly in the Keywords section of your .robot test file. We import things that are common across many tests, and implement on the spot things that are pertinent to a particular suite only. 
Reply all
Reply to author
Forward
0 new messages