Specflow BDD Integration with Ranorex

Experiences, small talk, and other automation gossip.
satz
Posts: 1
Joined: Mon Nov 18, 2019 7:24 am

Specflow BDD Integration with Ranorex

Post by satz » Mon Nov 18, 2019 7:39 am

Hello,
I have followed the below blog post for integration
https://www.ranorex.com/blog/how-to-use ... d-process/

It seems the repository https://github.com/ranorex/bdd-specflow hasn't updated for the past two years.

The step definition file not creating the binding based on the feature file.
stepdefinition.png
stepfeature.png
The definition file generated with default feature file.

Best Regards,
sathish kumar
You do not have the required permissions to view the files attached to this post.

ramanaramidi
Posts: 31
Joined: Wed Feb 26, 2020 6:51 am

Re: Specflow BDD Integration with Ranorex

Post by ramanaramidi » Wed Mar 11, 2020 7:05 am

Hi,

I am also facing the same issue. Could you please help?


Regards,
Ramana.

ramanaramidi
Posts: 31
Joined: Wed Feb 26, 2020 6:51 am

Re: Specflow BDD Integration with Ranorex

Post by ramanaramidi » Thu Mar 26, 2020 3:54 pm

Hi Team,

Could you please help in resolving the below issue?
The step definition file not creating the binding based on the feature file.

Regards,
Ramana.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Specflow BDD Integration with Ranorex

Post by odklizec » Thu Mar 26, 2020 4:13 pm

Hi,

Have you tried the steps in troubleshooting section (at the end of integration article)?...
https://www.ranorex.com/blog/how-to-use ... d-process/
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

ramanaramidi
Posts: 31
Joined: Wed Feb 26, 2020 6:51 am

Re: Specflow BDD Integration with Ranorex

Post by ramanaramidi » Fri Mar 27, 2020 8:53 am

Hi Pavel,

Thanks for the response. The steps given in the trouble shooting section belongs to the C# code file generation. The C# code file "Feature1.feature.cs" is getting generated on saving feature file. But on generating step definition file (i.e from right click on the project and choose Add > New Item > Category: SpecFlow > SpecFlow Step Definition) binding with default feature file (Calculator application) is getting generated. But I have created a different feature file and expecting the step definition file with binding for the same feature file.

I observed that there is no option in feature file to generate step definition(right click -> Generate Step Definition) as it is available in visual studio.


Thanks,
Ramana.