## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
Leonidas
@argeas
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 .. ?
biz786
@biz786
@biz786
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?
CharuDattPimple
@CharuDattPimple
Hi
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)?
Ajitprakash
@Ajitprakash
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
@mcne65
I am wondering if any of the staff can help me tell me if there are subtitles/transcripts for the videos?
Marit van Dijk
@mlvandijk
@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.
Manoj
@ManojReddyPothuganti
Hello
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
@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
@martinschemel
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
@martinschemel
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
@mlvandijk
@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
@martinschemel
Thank you @mlvandijk
Luchnikov illia
@ilya-luchnikov-qasunrise
Hello!
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
@mlvandijk
Can you provide a code sample @ilya-luchnikov-qasunrise ? Which version/language are you using?
vipuljust
@vipuljust
How we can prioritize our feature file scenarios ?
@Ajitprakash
tsmansuri
@tsmansuri
Hi,
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
@mlvandijk
@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?
jolanda1
@jolanda1
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
@mlvandijk
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.
jolanda1
@jolanda1
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
@mlvandijk
You're welcome. Hope it works out. :)
vipuljust
@vipuljust

@vipuljust
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 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
Hossain
@hossainelahi7
I am trying to use cucumber 4 with extent reporter. No luck!
can anybody help!
godomainz
@godomainz

Hi I'm using cucumber with protractor and typescript.

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

When I will click all links
Examples :
| 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 ?

Chorjo
@Chorjo

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
@enkessler
The parallel_tests gem can run tests in parallel by both feature or by scenario (but not by individual outline row).
https://github.com/grosser/parallel_tests#setup-for-non-rails
Chorjo
@Chorjo
Chorjo
@Chorjo

The parallel_tests gem can run tests in parallel by both feature or by scenario (but not by individual outline row).
https://github.com/grosser/parallel_tests#setup-for-non-rails

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

Heenu
@heenu_gitlab

Hi,,
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.

Eric Kessler
@enkessler
@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
@ultimatecoder
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?