TFS Team Build Coded UI Tests using Test Agent with Windows Form App - TestInitialize - launching the application
If I want tests to run against a Windows Forms application that is built using a team build and then will pass the build process to 开发者_运维问答a test agent to run coded UI tests, can anyone enlighten me as to a good way to ensure that before the Coded UI tests run, that the application that has just been built is executed on the test agent machine so that the tests can run against it?
You can use ApplicationUnderTest.Launch
Check these SO questions:
- Coded UI Test - How to change the exe it runs
- VS 2010 Coded UI Test - Launch Referenced Application
- Starting an application with coded UI tests in VS 2010
精彩评论