my problem is as follows:
We installed a DevOps Agent on a virtual machine to test an AUT by triggering a pipeline from Azure DevOps.
Everything works well, when I am connected by RDP to the VM and it is maximized, all tests are performed well.
When the remote connection to the VM is established but the VM is minimized or I am not even connected by RDP to the virtual machine the tests are suddenly failing (directly at the start - the first menu item can not be clicked / is not found).
Code: Select all
[Error ][Module]: Failed to wait for item to exist.<br/>Failed to find item 'ABC.NewF4'. Please check that your whitelist allows Ranorex to access the process.<br/>No element found for path '/contextmenu[@processname='ABC']/?/?/menuitem[@accessiblename='New...F4']' at step 'contextmenu[@processname='ABC']' after 63 attempts within 5s.
Virtual machine connected by RDP and mamimized: Working? YES
Virtual machine connceted by RDP and minimized in background: Working? NO
Virtual machine not connected by RDP: Working? NO
Do someone has a clue what to do here? I don´t understand that it works when I am connected to the VM and it is maximized and otherwise not...
Thank you for your help!