Ranorex BDD spec flow

Ask general questions here.
magarwal19
Posts: 18
Joined: Thu Mar 07, 2019 2:04 pm

Ranorex BDD spec flow

Post by magarwal19 » Fri May 15, 2020 5:39 am

Hi Team,

I have been using Ranorex for two projects in my team, and have recently come across the BDD support for Ranorex.

I have followed steps mentioned in document : https://www.ranorex.com/blog/how-to-use ... d-process/

In the document, they have mentioned that i can automate using Recordings or by using Ranorex automation API. But i am not able to find material on how to call recordings in the step definition file.

Also while using Automation API, can we use the repository or not?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12143
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex BDD spec flow

Post by Support Team » Mon May 18, 2020 8:46 pm

Hi Magarwal19,

Calling modules can be accomplished by calling .Start() and is shown towards the end of the guide. You can also use Ranorex API and the repository just like it were a code module. The example below might help show how this can be accomplished. Tip, drag and drop repository items into the code to automatically create a reference to it.
2020-05-18 15_43_11-BDD_Keypass - Ranorex Studio - (32bit) (Administrator).png
2020-05-18 15_43_11-BDD_Keypass - Ranorex Studio - (32bit) (Administrator).png (43.28 KiB) Viewed 176 times
Regards,
Ned
.
Image

magarwal19
Posts: 18
Joined: Thu Mar 07, 2019 2:04 pm

Re: Ranorex BDD spec flow

Post by magarwal19 » Tue May 19, 2020 2:26 pm

Hi Team,
Thank you for responding. This really helps.
I have one more doubt related to same:
In Ranorex suite, we can easily do the data binding. If I am going to use BDD, then do i need to implement functions to read csv and then parse data or is there a better way for same?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12143
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex BDD spec flow

Post by Support Team » Tue May 19, 2020 10:36 pm

You are correct, you are losing the test suite feature and everything that goes along with that (key item being data-binding) when using the current SpecFlow BDD integration. Databinding will need to be coded into your BDD test if it is required.

However, if you take a peek at our product roadmap, you will see a new and improved BDD integration is being actively worked on. I do not have many details on this upcoming feature at this time, but it sounds promising! Sign up for our beta program for the possibility to test this feature early.

Regards,
Ned
.
Image

magarwal19
Posts: 18
Joined: Thu Mar 07, 2019 2:04 pm

Re: Ranorex BDD spec flow

Post by magarwal19 » Wed May 20, 2020 6:43 am

Hi Ned,

Thank you for your quick response. Hope to see progress on BDD soon.

I tried for the Beta program registration, but the link says, there is no Beta program currently.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12143
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex BDD spec flow

Post by Support Team » Wed May 20, 2020 3:21 pm

At this time there is not a public beta available but by signing up you will be contacted if and when a beta is available.
.
Image

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

Re: Ranorex BDD spec flow

Post by odklizec » Wed May 20, 2020 3:29 pm

Hi,

But there is currently no way to sign up, because there is no public beta ;)
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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12143
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex BDD spec flow

Post by Support Team » Wed May 20, 2020 4:48 pm

Oops! Thanks for pointing this out Pavel. I did not realize we updated this page and thought it was a signup list still. You will need to check this page periodically for public beta versions.

Cheers,
Ned
.
Image

magarwal19
Posts: 18
Joined: Thu Mar 07, 2019 2:04 pm

Re: Ranorex BDD spec flow

Post by magarwal19 » Mon Jun 01, 2020 8:56 am

ok Thank you Ned and Pavel