G.Petruzziello
G.Petruzziello

Reputation: 11

Winium and Jenkins without Remote Desktop

I'm trying to automatize some tests with Jenkins and Winium for GUI Application on remote machine. If I try to execute tests on the machine with activated RDP all work fine, while if RDP is dis-activated I have the error "Some simulated input commands were not sent successfully.

The most common reason for this happening are the security features of Windows including User Interface Privacy Isolation (UIPI). Your application can only send commands to applications of the same or lower elevation. Similarly certain commands are restricted to Accessibility/UIAutomation applications. Refer to the project home page and the code samples for more information. Origine=Microsoft.VisualStudio.TestPlatform.TestFramework".

Thanks.

Upvotes: -1

Views: 923

Answers (1)

biruk1230
biruk1230

Reputation: 3154

It's a specific of Jenkins agents - they don't create normal UI session. So you need to use workarounds for testing GUI applications. See this answer as example.

Note: possible duplicate of this question.

Upvotes: 0

Related Questions