All Test Runs Marked Aborted In Visual Studio, Passed in Microsoft Test Manager
-
venerdì 16 marzo 2012 00:31
I am running a suite of automated web tests using Microsoft Test Manager and a test controller with a single agent in a physical environment. The tests run fine in MTM, but when I try to review the run in Visual Studio to inspect the failures, all the tests are marked as aborted. I can open the results and review the execution, but I cannot differentiate between the ones that passed and failed when viewing them in Visual Studio.
If I run the tests directly through visual studio they are marked with the correct results.
Reviewing the Test Controller Logs hasn't yielded anything useful regarding this.
Any advice on correcting this is appreciated.
Louis
Tutte le risposte
-
venerdì 16 marzo 2012 05:53
Hi, after you run the tests from MTM, can you go to Test->Anaylze Test runs and open the latest run. There you will find the list of passed/failed/aborted tests and also the .tr_ file
You should find the same results in tr_ file as displayed in the list of passed/failed/aborted tests
Thanks,
Anuj
http://www.anujchaudhary.com
- Contrassegnato come risposta lronat venerdì 16 marzo 2012 15:37
-
venerdì 16 marzo 2012 14:37
That is true, but I can't review which specific requests failed using the tr_ file. To see which specific requests failed I have to review the results in Visual Studio. I want to use the "Test Runs" window and enter my test controller name into the "Connect:" field. This lists all of the completed runs by the test controller, and I can select one and hit "Connect to Test Run" then go to the "Test Results" window and review the individual tests. However, when I look at the test results, all of the tests are marked "Aborted," even though I can still open the results and view each individual request. I would like the tests to be marked as Passed or Failed to make it easier determine which results to review, rather than having to reference MTM.
On my old computer this worked properly, but I just got a new machine and have not been able to get this functionality to work on it.
Note also, if I run the tests with the test controller but launch them in Visual Studio, the results are displayed correctly.
Thanks,
Louis
- Modificato lronat venerdì 16 marzo 2012 14:39
-
venerdì 16 marzo 2012 15:35
I am sorry I didnt understand why you cannot review which tests failed in the tr_ file. You can open th file in visual studio and should see passes/failed status for each test.
Thanks,
Anuj
http://www.anujchaudhary.com
-
venerdì 16 marzo 2012 15:40
You are correct. When I load the test result file that way I get the correct list of which tests passed and which tests failed in Visual Studio. I don't know why it doesn't work correctly when I try to use the "Test Runs" window to connect to the run, but I will use the .tr_ file in the future.
In thanks for your help,
Louis

