I wanted to create a separate topic in case my approach or something is the issue. What I would like to do is use DevOps Release Pipeline functionality to create either an On Demand or As Scheduled test. I have a regression suite of tests, I would like to be able to use DevOps to specify the build to run the suite against.
Here is my current setup, that isn't currently working. Ranorex doesn't have anything like this, so support is unable to replicate it. If there is a different/better way to do this, please enlighten me.
Here is the pipeline. The first stage copies the exe file to the test PC running a Ranorex agent.
The second stage runs the regression suite on the agent.
The first phase of the regression suite is to install the application on the agent PC and it does that. The next phase is to launch the application and test it. When the agent starts the app, it isn't started as admin, so the app isn't instrumented, so the tests fail.
My question is, is there a better way to do this? I want the ability to tell DevOps at 12:59 every third Sunday run the regression suite against "build X". Is that too much to ask?
DevOps Release Pipeline and Ranorex.
-
- Posts: 161
- Joined: Fri Nov 08, 2019 3:23 pm
DevOps Release Pipeline and Ranorex.
- Attachments
-
- ranorexTasks.png (14.41 KiB) Viewed 432 times
Re: DevOps Release Pipeline and Ranorex.
Hi dmconsulting1!
Unfortunately, we're not Azure DevOps experts here, but it does seem possible. I found this example from Michael Boeynaems that seems to indicate something like this is possible, but it may require elevated permissions for the agent itself so that it can run the Test Suite and AUT as an admin.
--Jacob
Unfortunately, we're not Azure DevOps experts here, but it does seem possible. I found this example from Michael Boeynaems that seems to indicate something like this is possible, but it may require elevated permissions for the agent itself so that it can run the Test Suite and AUT as an admin.
--Jacob

-
- Posts: 161
- Joined: Fri Nov 08, 2019 3:23 pm
Re: DevOps Release Pipeline and Ranorex.
What doesn't make sense is the agent has no issues when run as part of the build pipeline and it's literally running the same tests. Install, then open and run the UAT. As far as Ranorex is concerned there is no difference in package. So why would the agent need anything different as far as elevated rights? It's the same tests.
-
- Posts: 161
- Joined: Fri Nov 08, 2019 3:23 pm
Re: DevOps Release Pipeline and Ranorex.
This shows how to do it, the only difference is rather than Build Solution in Step #3, it's Use Build X
https://www.ranorex.com/help/latest/int ... roduction/
https://www.ranorex.com/help/latest/int ... roduction/