How to use Excel data connector when intergrate with Nunit

Best practices, code snippets for common functionality, examples, and guidelines.
hanguyen2009
Posts: 18
Joined: Wed May 27, 2015 9:43 am

How to use Excel data connector when intergrate with Nunit

Post by hanguyen2009 » Tue Jun 27, 2017 12:04 pm

Hi,
I have excel test case with many cases in it, we need to show these cases in the Nunit GUI Runner as image file attach.
However, I want to keep the way using Excel data connector and binding value of the Ranorex, not use TestCaseSource of NUnit, How can i do this?
For example, I want use NUnit call existing UserCodeModule that was binding data by Excel data connector of Ranorex.
I see the blog Using NUnit for test execution, but this seem that for only call run function not with binding data in Ranorex, https://www.ranorex.com/blog/using-nuni ... execution/
You do not have the required permissions to view the files attached to this post.

McTurtle
Posts: 297
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: How to use Excel data connector when intergrate with Nunit

Post by McTurtle » Wed Jun 28, 2017 12:37 pm

Hello hanguyen2009,

Data sources can be bound in Ranorex only as a part of the Ranorex test suite. As afar as I know you cannot import the test suite as such into NUnit. Therefore, I believe, what you are trying to do is not possible.

Regards,
McTurtle