I am executing the coded UI test with a bat file, you can simply copy the CUIT test .dll file to your application and call it by a bat file to execute.
Even you can use Test Agents to run the Code UI Test from different machines, where you
don't have Visual Studio.
my bat file looks like this:
Run All Test methods from DLL :
"C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEmstest.exe" /testcontainer:"DLL_LocationCUIT_03.dll" /resultsfile:"ResultFile_Location
esult.trx"
Run Single Test Method From DLL:
"C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEmstest.exe" /testcontainer:"DLL_LocationCUIT_03.dll" /test:"TestMethodName" /resultsfile:"ResultFile_Location
esult.trx"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…