MTM automate test results not showing iterations
-
Thursday, July 21, 2011 12:45 AM
I have developed a CodedUI test that I have linked to my test case in MTM. While developing the test and executng it from Visual Studio I see in the test results each iteration, however when running the test from MTM on a remote physical PC I do not see the iteration results in the tr_ file that is generated. The test executes as I expect it but I do not see the iterations and why some of them failed as I do when running the test on a remote PC through Visual Studio.
Thanks,
Eric
All Replies
-
Thursday, July 21, 2011 5:56 AM
Hi,
If its is a datadriven test, you should see the results for each iteration in the trx. You need to remember that the VS testsetting wount be used and hence you willhave to make sure that the file used as the datasource is copied into the test execution folder on the test agent under %localappdata%\VSEQT . You can use DeploymentItem attribute or test settings in MTM.
Thanks,
Anuj
http://www.anujchaudhary.com/- Proposed As Answer by Shankar MSFTModerator Tuesday, August 09, 2011 2:10 AM
- Unproposed As Answer by Kesims22_live Thursday, August 11, 2011 2:59 AM
-
Thursday, July 21, 2011 6:58 PM
Hi Anuj,
It is indeed a data driven test that uses the Test Case workitem. Regardless of where I run the test (Visual Studio or MTM) the test does work as expected, it runs through all the data rows.
The issue is that the results section that shows Data Driven Test Results: from the MTM run do not show up, thus I cannot see what the failures are when run from MTM.
Eric
Eric -
Thursday, July 21, 2011 9:38 PM
Custom Data collectors!
Is the custom data collector set up to collect the test run details while run on the test agent/controller? http://msdn.microsoft.com/en-us/library/dd286743.aspx
Please remember to mark the replies as answers if they help.Blog: http://geekswithblogs.net/TarunArora
Subscribe in a reader -
Monday, October 03, 2011 8:06 AMModerator
This is a bug in MTM. A connect bug has already been filed and is being tracked by the Product Group.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Warm Regards,
Shankar S
Please mark this reply as answer if it helps!
Blog: http://blogs.msdn.com/b/shankars/
- Marked As Answer by niveditabawa_MSFTMicrosoft Employee, Moderator Wednesday, October 19, 2011 9:19 AM
-
Friday, August 31, 2012 3:36 PMI spent countless hours on this one... do we have a fix for it?
yY


