Posted on: 1/6/2015 10:57:49 PM | Views : 648

Hi I have a coded ui test project which I have to schedule it to run for every 2 hrs. I am able to run the list of tests via VSTest.Console.exe by the following commands and I want to do this programatically.
%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat""
vstest.console.exe C:\CodedUIAutomation.dll /ListTests   // to get the list of tests

I am unable to do this when I put these commands in a batch file and run that using c# application. Can anyone please tell me how can I achieve this scheduling of coded ui tests

Thanks in advance!

Go to the complete details ...