Have mstest output my log file at a desired location
-
Dienstag, 6. März 2012 21:57
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
- Bearbeitet drm1981 Dienstag, 6. März 2012 21:58 added a word
Alle Antworten
-
Mittwoch, 7. März 2012 04:34Moderator
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 -
- Als Antwort vorgeschlagen Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Mittwoch, 7. März 2012 08:44
-
Donnerstag, 8. März 2012 06:18
Bhuvaneshwari - thank you for your answer but i was still looking for something which would make me use the visual studio Ide.
drm1981
- Bearbeitet drm1981 Donnerstag, 8. März 2012 06:19
-
Donnerstag, 8. März 2012 06:42Moderator
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
- Als Antwort markiert drm1981 Freitag, 9. März 2012 00:40

