简体   繁体   中英

Headless UI Automation Testing Using Coded UI

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM