Page 1 of 1

Using NUnit for test execution on Ranorex 6.1

Posted: Tue Mar 21, 2017 6:34 pm
by Eamonn
I have been following the steps in the blog http://www.ranorex.com/blog/using-nunit ... execution/ on this forum.
In step 3 I added the code which includes [TestFixture, RequiresSTA] however, the warming (CS0618) is shown following a build.
Please provide me with the steps to comply with the advise in the attached screenshot of the warning message:
warning.JPG

Re: Using NUnit for test execution on Ranorex 6.1

Posted: Tue Mar 21, 2017 7:32 pm
by Vega
Please take a look at the NUnit Wiki on the Apartment Attribute below:

https://github.com/nunit/docs/wiki/Apartment-Attribute

Re: Using NUnit for test execution on Ranorex 6.1

Posted: Wed Mar 22, 2017 3:43 pm
by Eamonn
Your information has been very useful and moved me further the completion of my task.