Page 1 of 1

Ansible and Ranorex

Posted: Wed Aug 29, 2018 8:22 pm
by Tedwards519
Is anyone using Ansible to login to a Windows machine lunch Ranorex Studio and start a job?

We are currently using Ansible for a majority of our automation and we also use Ranorex for testing. I wanted to bring them both together without having a middle man like Jenkins. Does anyone have any experience with this? Google searches for Ansible and Ranorex are coming back with nothing and searching for Ansible in the Ranorex forums gives me zero results! (maybe one after this gets posted.)

Re: Ansible and Ranorex

Posted: Tue Mar 12, 2019 9:14 am
by dugovic.milan
Hi, I don't really know what exactly are you trying to achieve? Do you want to simply run Ranorex Tests automatically after Windows Log In? Can you post your detailed scenario?

Re: Ansible and Ranorex

Posted: Tue Mar 12, 2019 10:45 am
by Stub
We use a bespoke MSBuild solution (which is some 11+ yo now I think) to run our Ranorex tests. This automates retrieving of our Ranorex test code from source control, and then builds it (also via MSBuild). Next it uses LogonExpert to unlock the Windows desktop. Then it invokes the Ranorex test .EXE built earlier to execute our tests. After the tests are complete LogonExpert locks the desktop again.

I know absolutely nothing about this Ansible however. You might be able to bring all the components together like we've done? Running the Ranorex tests that have been built to a handy EXE, passing the Test Suite and various other global parameters via the command-line, is very flexible, I've found.