You can use cucumber as a plugin in QTP and Selenium. The steps in the cucumber scenario are global variables. You can implement once and call many times. Hence reduces the code maintenance, and can reuse the same code when required.


Cucumber features are written in the Gherkin language and stored in files with the suffix .feature. This topic gives examples of each feature of Gherkin.