Friday, May 11, 2012 8:13 AMI have a question regarding a manual Test Case in Microsoft Test Manager. Is there a way to define 'custom' parameters?
Normally, you can define whatever parameter you want, like @FirstName. This parameter will automatically be added to the list of parameters of your testcase.
But I was wondering if there is something like '@Date'.. which replaces itself in a -DateTime.Now- equivalent?
Friday, May 11, 2012 8:43 AM
Unfortunately that is not supported out of the box. The parameter parser does not understand special parameters. So, @date will not give you DateTime.Now
You can however, convert the test to a coded UI test and overwrite the parameter value to pass DateTime.Now when @date is passed.
However, i like your suggestion and would recommend that you raise it on the user voice site here => http://visualstudio.uservoice.com/forums/121579-visual-studio
Please remember to mark the replies as answers if they help.
- Marked As Answer by Liskanet99 Wednesday, May 16, 2012 10:55 AM
Monday, May 14, 2012 1:32 AMModerator
Thank you for your post.
MTM is mainly used to manage test. And, MTM do not expose any method to edit settings or add paramaters. You'd better change manual test to Coded UI test to support parameters customization. Then associate the test method with a test case in MTM, that you can manage the test in MTM.
Some articles for you to refer:
If anything is unclear, please free feel to let me know.
Lily Wu [MSFT]
MSDN Community Support | Feedback to us
Monday, May 14, 2012 8:38 AM
Wednesday, May 16, 2012 10:55 AM
Yes, thanks for response. I know about manage this as CUI but I was curious if there is possibility also for manual test for our QA.