Can we make the lab template make to run the tests by attaching test suite and also with .vsdmi using through build deploy test process

已锁定 Can we make the lab template make to run the tests by attaching test suite and also with .vsdmi using through build deploy test process

  • 2012年2月6日 4:37
     
     
    Can we make the lab template make to run the tests by attaching test suite and also with .vsdmi using through  build deploy test process?

全部回复

  • 2012年2月7日 8:33
    版主
     
     

    hi, there're a couple of questions need clarify:

    1. Do you use LabDefaultTemplate in build definition?
    2. Can you elaborate with more details about "run the tests by attaching test suite and also with .vsdmi using "?

    Best Regards, I'll try my best to assist.


    Forrest Guo | MSDN Community Support | Feedback to us

  • 2012年2月7日 19:22
     
     

    Thank you for your quick response.

    1. Yes

    2. Currently we are running the coded ui tests through build process using lab template. In the edit build definition, I see the option to select the test suite. But I don't see the option to select .vsdmi file. Is there a way get the option on to attach the .vsdmi file ?

  • 2012年2月8日 9:24
    版主
     
     

    Hi, the settings are in build definition. While we edit the build definition, go to Process tab -> Basic node -> Test Assembly, click on the eclipse button(...) we get Add/Edit test button. From there we get the Test metadata file(vsmdi) option.

    I'm with TFS2010, please let me know if there's anything unclear, I'll try to assist.


    Forrest Guo | MSDN Community Support | Feedback to us

  • 2012年2月8日 15:17
     
     

    Thank you Forrest Guo.

    Under Basic node, I see only Build number format, Logging verbosity . I don't see the Test Assembly there.

  • 2012年2月9日 3:41
     
     已答复

    You will get the option which Forrest mentioned if you are using DefaultTemplate.xaml

    If you are using LabDefaultTemplate.xaml, you will have to select test suites ebcause it creates test runs based on the test suites using tcm command, see http://msdn.microsoft.com/en-us/library/ff942469.aspx

    Thanks,

    Anuj


    http://www.anujchaudhary.com

  • 2012年2月9日 8:35
    版主
     
     

    Oops, my bad.  The settings above is for DefaultTemplate.xaml. We will have to specify test suite.

    Specifying .vsmdi is not supported.


    Forrest Guo | MSDN Community Support | Feedback to us