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
Is there a way to run Nunit tests through Ranorex remote agent?
Is there a way to run Nunit tests through Ranorex remote agent?
Last edited by harolding on Mon Jan 17, 2022 7:04 pm, edited 1 time in total.
Re: Is there a way to run Nunit to use remote agent?
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
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](https://upload.ranorex.com/apps/files_sharing/publicpreview/wdSFq4PRmjJqEqS?x=1657&y=517&a=true&file=rx-logo-desktop-dark.png&scalingup=0)
Re: Is there a way to run Nunit tests through Ranorex remote agent?
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
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