Hi,
My solution uses NUnit as the unit test provider and used NUnit Runner to execute our tests. But I am getting the error "Could not load file or assembly 'Ranorex.Core, Version=9.2.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. The system cannot find the file specified."
Below is the screenshot attached.
Please help.
Unable to run the tests using Nunit Runner
-
- Posts: 31
- Joined: Wed Feb 26, 2020 6:51 am
Unable to run the tests using Nunit Runner
You do not have the required permissions to view the files attached to this post.
Re: Unable to run the tests using Nunit Runner
Is that saying .NET v3.5? You need .NET v4.6.2 installed for recent versions of Ranorex.
-
- Posts: 31
- Joined: Wed Feb 26, 2020 6:51 am
Re: Unable to run the tests using Nunit Runner
I am using .Net v4.6.2 for renorex studio.
Re: Unable to run the tests using Nunit Runner
Hi,
You must use 4.6.2 (or higher) also everywhere, were you actually RUN the test! So if the test fails to run on target machine (different from where you build it), you must ensure that there are installed all required libs and runtimes as for Ranorex Studio. Ideally, run Ranorex setup on such machine and it will install all missing components. Then you can skip the rest of Ranorex Studio setup
You must use 4.6.2 (or higher) also everywhere, were you actually RUN the test! So if the test fails to run on target machine (different from where you build it), you must ensure that there are installed all required libs and runtimes as for Ranorex Studio. Ideally, run Ranorex setup on such machine and it will install all missing components. Then you can skip the rest of Ranorex Studio setup
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
-
- Posts: 3
- Joined: Wed Sep 06, 2023 3:08 am
Re: Unable to run the tests using Nunit Runner
Anyway we can run ranorex with bdd in ranorex agent. Please reply. Our project with Ranorex bdd is working fine locally but Agent is not supporting this process.