Unable to install nunit in ranorex

Ask general questions here.
Samy
Posts: 4
Joined: Mon Feb 01, 2016 6:17 am

Unable to install nunit in ranorex

Post by Samy » Tue Feb 09, 2016 9:23 am

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

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to install nunit in ranorex

Post by odklizec » Wed Feb 10, 2016 10:33 am

Hi,

You can always load the reference file manually via tab .Net Assembly Browser:
rx_nunit.png
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Samy
Posts: 4
Joined: Mon Feb 01, 2016 6:17 am

Re: Unable to install nunit in ranorex

Post by Samy » Thu Feb 11, 2016 12:41 pm

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

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to install nunit in ranorex

Post by odklizec » Thu Feb 11, 2016 1:07 pm

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 ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Samy
Posts: 4
Joined: Mon Feb 01, 2016 6:17 am

Re: Unable to install nunit in ranorex

Post by Samy » Fri Feb 12, 2016 6:05 am

Ok..No problem..Thanks :D

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to install nunit in ranorex

Post by odklizec » Fri Feb 12, 2016 9:28 am

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
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration