Ranorex Agent and elevation

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 85
Joined: Wed Sep 19, 2018 10:05 am

Ranorex Agent and elevation

Post by HansSchl » Mon Feb 08, 2021 7:58 am


My system runs tests on a remote machine under Ranorex Agent. Searching the cause for strange test failures, I found that the agent runs elevated, and starts the AUT elevated. This has two undesired side effects:
- When the AUT runs elevated, I cannot detect problems that come from insuficient privileges.
- Drag and drop from Windows Explorer to the AUT cannot work (you cannot d&d from non-elevated to elevated application).

Is this just a bad configuration on my side, or is it required that agent and AUT run elevated? If bad configuration, what are the relevant settings?

(Ranorex 9.3.1 under Win10)

Thank you