Using NUnit for test execution on Ranorex 6.1

Ask general questions here.
Eamonn
Posts: 59
Joined: Wed Jul 16, 2014 9:30 am
Location: Dundalk, Ireland.

Using NUnit for test execution on Ranorex 6.1

Post by Eamonn » Tue Mar 21, 2017 6:34 pm

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
warning.JPG (18.25 KiB) Viewed 557 times

User avatar
Vega
Posts: 110
Joined: Mon Jul 11, 2016 2:15 pm

Re: Using NUnit for test execution on Ranorex 6.1

Post by Vega » Tue Mar 21, 2017 7:32 pm

Please take a look at the NUnit Wiki on the Apartment Attribute below:

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

Eamonn
Posts: 59
Joined: Wed Jul 16, 2014 9:30 am
Location: Dundalk, Ireland.

Re: Using NUnit for test execution on Ranorex 6.1

Post by Eamonn » Wed Mar 22, 2017 3:43 pm

Your information has been very useful and moved me further the completion of my task.