Specflow integration with ranorex

Ask general questions here.
kavya13
Posts: 38
Joined: Fri Jan 17, 2020 5:29 am

Specflow integration with ranorex

Post by kavya13 » Thu Apr 09, 2020 1:44 pm

Hello Team,

I have integrated Specflow with ranorex. I have followed the below link.
https://www.ranorex.com/forum/specflow- ... 15177.html

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 also 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.

Kindly suggest any steps.

Thanks in advance.

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

Re: Specflow integration with ranorex

Post by odklizec » Thu Apr 09, 2020 2:45 pm

Hi,

At first, you already posted your question under different account here:
https://www.ranorex.com/forum/specflow- ... tml#p59769
It's not a very good idea to use multiple accounts and post the same questions multiple times. It will not help with faster answer.

At next, I already suggested you (via PM) to contact Ranorex support regarding your problem. Have you contacted them? It seems your problem is somehow unique. Additionally, Specflow is apparently not widely used here. Hence your best hope is to contact directly Ranorex support.
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