How to run CodedUI tests outside application with Batch files and create a report

932 Views Asked by At

I managed to create Page Object Model UIMap test cases for acceptance testing in Visual Studio 2013. I'm having issues on how to run test them outside application with Batch files and create a report.

1

There are 1 best solutions below

4
wherby On BEST ANSWER

Using mstest tool for drive test from command line more detail see: http://blogs.msdn.com/b/running_coded_ui_on_vm/archive/2013/03/25/running-coded-ui-on-vm-using-mstest.aspx

simple MSTEST.EXE /testcontainer:"LOCATION OF YOUR BINARY (DLL)

if you configured TFS server, you could also publish the test result to TFS server, then get a test report.