Discussion How we can test one test case for differnt roles

  • Thursday, October 13, 2011 10:06 PM
     
     

    Hi,

    I am very new to MTM. I was wondering if there is any way in which i can write one test case and same test case be tested for differnt role, rather than coping and pasting the same test case for differnt role

    • Changed Type lukchd Friday, October 14, 2011 12:21 AM
    •  

All Replies

  • Friday, October 14, 2011 4:15 AM
     
     

    You can use different test configurations, see http://msdn.microsoft.com/en-us/library/dd286654.aspx

    Thanks,

    Anuj


    http://www.anujchaudhary.com/
  • Sunday, October 16, 2011 8:56 PM
     
     

    You probable want your expected results in your testcases to be dependent on the role your executing the test with. In such case you can data drive your testcases using parameter, please refer to this MSDN Article http://msdn.microsoft.com/en-us/library/dd997832.aspx

     

  • Sunday, October 16, 2011 11:41 PM
     
     

    Hi,

    Thanks Anuj.

    I will try using different test configuations and then see how I go. Really appreciate your help....


    Regards
  • Wednesday, November 02, 2011 6:33 AM
     
     

    Hi Anuj,

    I tried this and it helped me a lot. Saves too much of time. Thanks lot. Appreciate your help


    Regards
  • Wednesday, November 02, 2011 6:35 AM
     
     

    Hi Mattias,

    I did tried using parmeter, but it was bit hard. I tried to configure and it work well. Thanks for replying to my post. It was great help as I learnt one new thing.

    Thanks again

    Regards


    Regards