Questions tagged [gherkin]

Gherkin serves as the primary language for drafting specifications in tools like Cucumber and Specflow, as well as other BDD frameworks. This unique language is tailored for easy understanding by business stakeholders and allows users to articulate their software's functionality without delving into the technical specifics of its implementation.

Cucumber is failing to execute examples, and the web page is not being initiated properly

public class Applicant_Login_StepDef { WebDriver driver; @Given("^the URL$") public void the_URL() throws Throwable { System.setProperty("webdriver.chrome.driver", "C:\Users\SSMP\Downloads\chromedriv ...

Is it possible to export informative test titles in Selenium / Gherkin / Cucumber?

Within my feature files, I have implemented tests using the Scenario Template method to input multiple parameters. For instance: @MaskSelection Scenario Template: The Mask Guide Is Available Given the patient is using "<browser>" And A patie ...

Using arguments in cucumber scenarios

Is there any way to pass only one parameter in a cucumber step, even if the method expects two? Here is the code snippet: @Given("^skip the next scenario named "(.*)"$") @BeforeStep public void before(Scenario scenario, String name) { ...

Can an if-else statement be incorporated into the Cucumber test steps for a scenario that did not originally include one?

Here's the situation I am facing. In the past, the system under test (SUT) had just one button labeled "refund" for offers. Due to legal reasons, this button is now only accessible 20 days after the offer creation. Once this time period has passed, t ...

The error message "When using Robotframework-selenium with Edgebrowser, the 'options' object does not have the attribute 'use_chromium'" was displayed

Currently, I am utilizing the robot-framework-selenium(3.1.1) framework with python for specific tasks. For opening browsers such as Chrome, IE, and Firefox, I make use of the Open Browser keyword in Robot-framework. However, when attempting to open an Edg ...