Reputation: 31
As a beginner, I'm researching towards whether is it possible to run automated test scripts of Coded UI in Headless mode for Azure DevOps CI/CD pipeline.
My intention is to automate UI of Desktop Applications. Along with this, I have concerned about MS Winapp Driver as well but it was concluded that, Coded UI is the ideal tool for my objective.
Researches Done:
1.) Created a Coded UI project and run a test scenario through Visual Studio - Successful
2.) Run the same scenario (C# file) using command prompt (using MSTest switches) - Successful
It will be highly appreciable, if one can come up with some best solution(s) or sample project.
Upvotes: 1
Views: 1860
Reputation: 16163
According to this link(UI testing considerations), you can not use Headless for Desktop app.
if you are running UI tests for desktop apps, Windows agents must be configured to run as an interactive process with auto-logon enabled
Upvotes: 2