TFS automatically resets the test outcome

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



TFS automatically resets the test outcome



I have created a test plan in the TFS Test hub, but while the test plan is being executed the Outcome field of the test cases are at some point (after approx. two weeks) automatically reset to "Active", so that I can no longer see which tests have already been executed and what was their outcome.



I do not know what I am doing wrong to cause these automatic resets.
Any help is greatly appreciated.




1 Answer
1



Firstly make sure that no any other team members do the action: Reset test to active.


Reset test to active



Besides, the outcome field will be automatically reset to "Active" if all test runs are deleted.



Based on your description the reset behavior appears after approx every two weeks. So please check if you have set the Retention policy to delete the test runs : Days to keep manual test runs, results, and attachments


Days to keep manual test runs, results, and attachments



(Go to http://server:8080/tfs/DefaultCollection/Project/_admin/_testmanagement to set the test retention policy )


http://server:8080/tfs/DefaultCollection/Project/_admin/_testmanagement



You can configure this separately for manual and automated test runs.



By default, for existing team projects, it is set to Never delete
any test runs. For newly created team projects, it defaults to keep 1
year of automated, as well as manual test runs.


Never delete



So, if you want to keep the outcome field never to be reset, then just set to Never delete or set the days as needed.


Never delete



Refer to Test result data retention with Team Foundation Server 2015 for details.



enter image description here





That was it. Thanks a lot, saved my day!
– robrecht scheepers
Aug 17 at 6:47






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard