Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Hi All ... I want to be able to talk to 2 devices from 1 feature file within one session e.g. The first cucumber line of the scenario to speak with DeviceA and then the second line of the cucumber scenario to speak to DeviceB ... does anyone know a tutorial etc .. ?
    hi guys
    the cucumber hooks @Before/@After are NOT triggering if they in a class within a jar that im referencing in my test project
    if all the classes are in the same project then the hooks do trigger.Any suggestion how to trigger the hooks?
    I had one doubt in cucucumber
    Can we write more than 1 test cases inside step defination java file(in gHerkin format) ?
    Or There will be a single dedicated file while consist of only test case (written in Gherkin format)?
    I am trying to write Test Case for A React Component which performs Addition on 2 state props and then save it in third, I am unable to find any good helping example to start. any help thanks.
    Sirani McNeill
    I am wondering if any of the staff can help me tell me if there are subtitles/transcripts for the videos?
    Marit van Dijk
    @mcne65 Afaik there are no subtitles yet, but people are working on it. You might be able to get a transscript in the mean time if you ask them.
    I had one doubt while dealing with scenario outlines and Examples table . I have my Examples table as follows | part | id | display | type |
    | emailTypes | <email_types_id_0> | <emailTypes_display_0> | <emailTypes_type_0> | I am not able to set email_types_id_0 from step definition file (I don't know these values initially I will calculate them in step and need to set them in feature file) !! Can someone help me in this I got stuck since morning
    Vinson Ridenour
    hey everyone, I'm looking for a good online course to learn cucumber.js. Any recommendations? I'm hoping to use the knowledge for an upcoming interview. Thanks in advance!
    Martin Schemel
    Hello. We have an existing Java tool that allows users to implement and execute tests. The execution is not based on JUnit.
    We want our tool to be able to execute Cucumber *.feature files. But instead of the JUnit Cucumber runner we want to use our own execution environment.
    Currently, I cannot find any API that allows to parse Cucumber files, call the glued steps on our own etc. Any hints where to look at? Is there even an API that is supposed to allow such things?
    Martin Schemel
    Not sure if this gitter is being watched. For any hints I am happy about an email to martin.schemel@biotronik.com. Thanks in advance.
    Marit van Dijk
    @ManojReddyPothuganti Afaik you cannot set info from your steps into your feature file (and tbh I don't know why you would want to). Alternatively, you could write a more generic step that leaves out this information?
    @vinson-ridenour Not a course, but do have a look at the Cucumber docs: docs.cucumber.io as well as the cucumber.js docs: https://github.com/cucumber/cucumber-js - If you're interested in learning more about BDD and Cucumber, I'd recommend Cucumber school: https://cucumber.io/school
    @martinschemel Afaik you can use JUnit or TestNG or run it from the command line. People tend to be more active on Slack (https://cucumber.io/support#slack) nowadays. Please hop in there if you have more questions.
    Martin Schemel
    Thank you @mlvandijk
    Luchnikov illia
    I have a problem:
    When I use Gherkin (Given, When, Then) everything works, but when I try to use (And, But) everything lame.
    "But is not defined".
    Tell me where to look for the problem?
    Marit van Dijk
    Can you provide a code sample @ilya-luchnikov-qasunrise ? Which version/language are you using?
    How we can prioritize our feature file scenarios ?
    How to perform data driven testing in cucumber using external files parameterization using excel files?
    Hi guys, I am trying to run a sample login project in Katalon studio using Cucumber feature file and step defination. My test is passing but not launching the Browser and steps are not getting executed. I doubt if I need to link those @tags or what I am missing. could anyone quickly help me to solve this issue?
    Marit van Dijk
    @SantoshKadve Have you by any chance set dryrun to true?
    it was working now thanks
    Alberto Barragán
    Hi Guys, Is there way to implement after step hook in cucumber-js?
    Hi All, we are considering to use cucumber in my company
    however, are there any license fees charged?
    and is there any information available on the security risks and mitigating controls? I was not able to find this...
    Marit van Dijk
    Hello Jolanda, Cucumber is an open source project. There are no license fees, but donations are possible at https://opencollective.com/cucumber
    I am not familiar with any explicit information on security risks or mitigations controls regarding Cucumber specifically.
    Your company might have controls in place to deal with external dependencies, like using a company artifactory to store scanned/approved dependencies.
    I you need any additional information, it might be best to contact Cucumber ltd.
    Hi Marit thanks for the response! Indeed I sent an email to cucumber - this is probably the best way to get the information.
    Marit van Dijk
    You're welcome. Hope it works out. :)

    I am integrating wdio with Jira service
    I am getting following error

    ERROR: Couldn't initialise service "jira".
    TypeError: JiraService is not a constructor
    at Object.<anonymous> (E:\Year\2019\Feb\27th Feb\node_modules\wdio-jira-service\index.js:3:18)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Runner.initialiseServices (E:\Year\2019\Feb\27th Feb\node_modules\webdriverio\build\lib\runner.js:689:35)
    at Runner._callee$ (E:\Year\2019\Feb\27th Feb\node_modules\webdriverio\build\lib\runner.js:94:38)

    at Runner.initialiseServices (E:\Year\2019\Feb\27th Feb\node_modules\webdriverio\build\lib\runner.js:692:35)
    at Runner._callee$ (E:\Year\2019\Feb\27th Feb\node_modules\webdriverio\build\lib\runner.js:94:38)
    at tryCatch (E:\Year\2019\Feb\27th Feb\node_modules\regenerator-runtime\runtime.js:62:40)
    at Generator.invoke [as _invoke] (E:\Year\2019\Feb\27th Feb\node_modules\regenerator-runtime\runtime.js:296:22)
    at Generator.prototype.(anonymous function) [as next] (E:\Year\2019\Feb\27th Feb\node_modules\regenerator-runtime\runtime.js:114:21)
    at step (E:\Year\2019\Feb\27th Feb\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
    at E:\Year\2019\Feb\27th Feb\node_modules\babel-runtime\helpers\asyncToGenerator.js:35:14
    I am trying to use cucumber 4 with extent reporter. No luck!
    can anybody help!

    Hi I'm using cucumber with protractor and typescript.

    Lets say I have a scenario in my demo.feature file

    Scenario Outline: Gather and load all submenus
    Given I will login using <username> and <password>
    When I will click all links
    Examples :
    | username | password |
    | user1 | pass1 |
    | use2 | pass2 |
    lets say i have a file called users.json

    How can i get those usernames and passwords from that external file to my demo.feature ? Can I catch the file by passing parameters to my npm script like below ?

    npm run cucumber -- --params.environment.file=usernames.json


    Hello, I am using Ruby/Capybara with Cucumber and i am looking to run scenarios in Parallel tests. Ruby has a gem which allows the running of features in parallel but I cant seem to find anything that allows the scenarios to be running in parallel.

    Does anyone have any experience with this or could point me to the right place?

    Many Thanks

    Eric Kessler
    The parallel_tests gem can run tests in parallel by both feature or by scenario (but not by individual outline row).
    @enkessler Thanks for the reply

    The parallel_tests gem can run tests in parallel by both feature or by scenario (but not by individual outline row).

    Hi Eric, have you had any experience running the parallel tests command on selenium grid


    I'm trying to login to facebook, after successful login; am getting one notification popup asking for allowing and block. I'm fine with either case. I am using webstorm IDE framework cucumber.

    I have already tried browser.alertDismiss(), browser.alertAccept() none of them are working. could anyone help me in dealing with these notifications.

    Eric Kessler
    @Chorjo Selenium grid shouldn't make a difference to running your tests in parallel or not. Configuring Selenium to use remote browsers instead of local browsers just means that you won't need a machine that can support the browsers locally but otherwise everything should be the same.
    Jaysinh Shukla
    The cucumber/aruba seems inactive since 2017. Sorry if I am offtopic here.
    I am trying to write a functional test for this command line program. Please find my feature file here.
    I want to describe the input. As you can see the commented part of "And I type" command.
    Is there any way to describe more about the input?
    Is comments the only option?
    I am able to define environment variable of them, but I am unable to use them for "And I type" command.
    Alain DELBOT
    hello, i'm trying to secure the cumcumber architecture.
    Are there any recommendations for securing cumcumber servers?
    Sara Fabbro
    Hi everyone, I'm trying to create my own formatter which implements ConcurrentEventListener. I need to log the step keyword and the step test. Since I'm receiving TestStepStarted event which can be casted as a PickleStepTestStep, but I do not have the keword word. I found that someone works with TestSourcesModel but I cannot access to that class. Any suggestions? Did I miss something?
    Trisha Chetani
    Anybody up to pair up ?