我开发了一个窗口/桌面应用程序。我已经在Build Server上部署了这个应用程序。我开发了编码的ui测试用例,以便在连续集成环境中对构建服务器执行自动化测试。我想知道,当我排队构建nad构建执行时,如何编码ui将在测试下启动应用程序(这是桌面应用程序)并将执行所有测试?
此致
答案 0 :(得分:0)
If I understand correctly, you want to know how to run coded UI tests from TFS/VSTS.
Firstly, you need to run your agent as an interactive process. Regarding how to deploy an agent on windows, please refer to this link.
Secondly, add your coded UI tests project into TFS version control.
Last, create a build definition to use Visual Studio Test Agent Deployment task and Run Functional Tests task to run the tests.