Have mstest output my log file at a desired location
-
Tuesday, March 06, 2012 9:57 PM
I have test that runs in mstest, everything works fine and it gives me a log file. But the log file is outputted in the TestResults folder in the project. Is there a config setting I can change in mstest, which upon changing lets me output the log file to a location I desire.
If their is please advise me how to go about doing it.
Thanks in advance
drm1981
- Edited by drm1981 Tuesday, March 06, 2012 9:58 PM added a word
All Replies
-
Wednesday, March 07, 2012 4:34 AMModerator
You can use /resultsfile switch to specify the location where you want the result file to be saved.
For more about MSTEST switches refer http://msdn.microsoft.com/en-us/library/ms182489(v=vs.80).aspx -
- Proposed As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Wednesday, March 07, 2012 8:44 AM
-
Thursday, March 08, 2012 6:18 AM
Bhuvaneshwari - thank you for your answer but i was still looking for something which would make me use the visual studio Ide.
drm1981
- Edited by drm1981 Thursday, March 08, 2012 6:19 AM
-
Thursday, March 08, 2012 6:42 AMModerator
Hi drm1981,
Glad to receive your reply.
If you just want to use the Visual Studio to change the location of the tests results, we can use another option in the Test Results toolbar “Export Test Run Results”. For detailed information, see http://social.msdn.microsoft.com/Forums/en/vstswebtest/thread/c5a1d7fe-ec31-48dd-ae87-26b922ed9baa.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by drm1981 Friday, March 09, 2012 12:40 AM

