Is there a way to run Nunit tests through Ranorex remote agent?

Class library usage, coding and language questions.
harolding
Posts: 2
Joined: Sat Oct 16, 2021 4:09 pm

Is there a way to run Nunit tests through Ranorex remote agent?

Post by harolding » Sat Oct 16, 2021 7:14 pm

Hi everybody,

This is my first time here. My situation is that we have a C# project that uses Ranorex API to do Desktop application automation, and currently we run our tests
from command line on a local machine. However, we need now to run our tests, from command line also, on a remote machine which has the Ranorex remote agent and the application under test. We use currently Nunit to run our C# test project. I have only seen how to run the tests from Ranorex Studio using the remote agent, but not seen how do it with Nunit or other testing framework, from command line.

I really appreciate any help.

Harold
Last edited by harolding on Mon Jan 17, 2022 7:04 pm, edited 1 time in total.

Jacob
Certified Professional
Certified Professional
Posts: 120
Joined: Mon Mar 22, 2021 10:01 pm

Re: Is there a way to run Nunit to use remote agent?

Post by Jacob » Fri Oct 22, 2021 6:53 pm

Hi harolding,

Welcome to the forums! In case you haven't found it yet, please check out the Command Line Execution page in the User Guide. There is a section at the bottom for running Ranorex Tests and sending them to a remote Agent via the command line. I hope this helps!

--Jacob
Image

harolding
Posts: 2
Joined: Sat Oct 16, 2021 4:09 pm

Re: Is there a way to run Nunit tests through Ranorex remote agent?

Post by harolding » Fri Nov 05, 2021 12:08 pm

Hi Jacob,

Thanks for replying. Unfortunately the command line execution explained there doesn't apply in our case because our test project is built as an assembly (class library) and not as an executable (console application). I am not sure if it there is a way to use Ranorex remote agent in our case, or what I need to change in our project.

Anyway, thanks for your help.

Regards.

Harold