Page 1 of 1

Unable to install nunit in ranorex

Posted: Tue Feb 09, 2016 9:23 am
by Samy
Hey

I have downloaded the latest version of Nunit (3.0.1) but I am still unable to add Nunit in the reference Tab as specified in the article I referred.

When I right click on my project to add reference,the GAC tab does not contain any option such as nunit.framework. Am I missing out on something.

Any help would be highly appreciated.Thanks


Ranorex version :5.4.4.26486
Windows version :Windows 7 Ultimate

Re: Unable to install nunit in ranorex

Posted: Wed Feb 10, 2016 10:33 am
by odklizec
Hi,

You can always load the reference file manually via tab .Net Assembly Browser:
rx_nunit.png

Re: Unable to install nunit in ranorex

Posted: Thu Feb 11, 2016 12:41 pm
by Samy
Hello odklizec

Thanks for the solution.It is working now.

I have incorporated the nunit.framework.dll file in my project and have also created an nunit class which is to be tested.But im still unable to generate the dll file of my project.Hence not able to run it in the NUnit GUI Runner.Am I missing out on something?

Regards

Re: Unable to install nunit in ranorex

Posted: Thu Feb 11, 2016 1:07 pm
by odklizec
Hi,

I'm afraid, I can't help you with that. I'm not using nunit and I've never built a dll from Ranorex project. But I believe this was discussed here in the past? Try to search the forum ;)

Re: Unable to install nunit in ranorex

Posted: Fri Feb 12, 2016 6:05 am
by Samy
Ok..No problem..Thanks :D

Re: Unable to install nunit in ranorex

Posted: Fri Feb 12, 2016 9:28 am
by odklizec
Hi,

While working on a new project, I found myself in a need to generate a dll from certain project ;) It's quite simple. Just select the project in project list and then open its Properties (either via right click menu or menu Project >> Project Options). Finally, set Output Type as Class Library.
OutputType.png