cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate step definition (BDD)

SOLVED
Highlighted
New Contributor

Duplicate step definition (BDD)

Hi everyone!!!

I want to repeat steps in several BDD feature , but i take  error log message: "Duplicate step definition"((

I know that cucumber progibits such use of the mechanism, but maybe in the TC can circumvent this problem?


BDD_Duplicate.png

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: Duplicate step definition (BDD)

Hi @kamserg1608,

 

Could you please contact our Support Team to clarify this behavior?

If Cucumber prohibits it, I'm not sure if TestComplete should do this. You can reach out to them here:

https://support.smartbear.com/message/?prod=TestComplete

---------
Tanya Gorbunova
SmartBear Community Manager

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!

View solution in original post

4 REPLIES 4
Highlighted
Community Manager

Re: Duplicate step definition (BDD)

Hi @kamserg1608,

 

Could you please contact our Support Team to clarify this behavior?

If Cucumber prohibits it, I'm not sure if TestComplete should do this. You can reach out to them here:

https://support.smartbear.com/message/?prod=TestComplete

---------
Tanya Gorbunova
SmartBear Community Manager

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!

View solution in original post

Highlighted
Community Hero

Re: Duplicate step definition (BDD)

@TanyaGorbunova :

Tanya, I believe that you meant this link: https://support.smartbear.com/message/?prod=TestComplete , didn't you?

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Highlighted
Community Manager

Re: Duplicate step definition (BDD)

Good catch, Alex. I've updated my reply.

Sorry for this.

---------
Tanya Gorbunova
SmartBear Community Manager

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!
Highlighted
Contributor

Re: Duplicate step definition (BDD)

Hi,

 

Any solution yet? I experienced the same error with my project. When running scenario using script. When a test failed the other one doesn't run and post "Duplicate step definition error". 

 

FirstTest.pngSecondTest.png