Reputation: 11
I am trying to trigger Coded Ui test cases on Azure VM using VSTS pipeline(using Run Functional Tests task)
I am encountering a problem that when my RDP is not connected all my test are failing but when RDP is connected test are showing expected results
In my test there is no UI interaction, these test are to do with file processing by web jobs
I am only using Coded Ui test assertions for failing or passing the test cases
Upvotes: 0
Views: 226
Reputation: 880
Any CodedUI test will fail if you try and run it while the desktop is locked. Essentially you'll have to do one of two things:
Upvotes: 1