Using NUnit for test execution on Ranorex 6.1

Ask general questions here.
Eamonn
Posts: 63
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
You do not have the required permissions to view the files attached to this post.

Vega
Posts: 222
Joined: Tue Jan 17, 2023 7:50 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: 63
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.