Command line execution result publishing

6 posts, 0 answers
  1. Sammy78
    Sammy78 avatar
    27 posts
    Member since:
    May 2010

    Posted 03 Feb 2012 Link to this post

    Hi,
    I can run my test list by command line, set the output directory for the results ("out") but I can't get the "mail" option to work. Do I have to set something up  somewhere?

    Here's an example of my command line :

    "D:\Program Files\Telerik\Test Studio 2011.2\Bin\ArtOfTest.Runner.exe" list="***:\****\TestsAutomatises_Migration\Verif_Mig_UNIT\TestLists\Unit.aiilist" out="D:\Documents and Settings\st\Desktop\Results" serverPublish="false" notifyOption="1" mails="results@dsf.ca"
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 03 Feb 2012 Link to this post

    Hello Sam,

    Have you added the Email Server settings under the Scheduling Server Configuration? If so, do you receive an email when scheduling a test list through Test Studio?

    Your command line syntax looks good and it worked for me when I used it.

    Greetings,
    Anthony
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Sammy78
    Sammy78 avatar
    27 posts
    Member since:
    May 2010

    Posted 03 Feb 2012 Link to this post

    Ok. I've got another question instead: How do you incorporate the testlist command line into a VS2008 daily build in the .proj and .rsp files? My analyst and architect both want to run it from there.
  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 03 Feb 2012 Link to this post

    Hello Sam,

    The answer to that is best searched for in the MSDN documentation. Test Studio functionally works just like Microsoft Coded UI Tests. When the MSDN documentation talks about running Microsoft Coded UI Tests, simply substitute Test Studio tests instead. This process might be easier if you use a native VS test list and not try to incorporate an additional command to call a Test Studio test list.

    Regards,
    Anthony
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Sammy78
    Sammy78 avatar
    27 posts
    Member since:
    May 2010

    Posted 22 Feb 2012 Link to this post

    Hi Anthony,
    Thanks for the reply. I know I'm late, but it's been really hectic here and we had to put that part of our project on the side for a while. I tried to use my test list and add it to our TFSBuild test list, but as the documentation states, the test fails ass soon as it starts cause the agent can't access the interface (as far as I understand it). Oh and btw, we can't change the TFSBuild agent because many projects are on the same build server.

    So for the moment, my analyst told me that we didn't want to spend any more time on this and that we'll start our tests manually every day. So unless you might be able to suggest something that could help (and doesn't take too much time), I'm going to have to end this chapter.

    Thanks for all the help

    Sincerely
    Sam
  6. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 22 Feb 2012 Link to this post

    Hello Sam,

    You are correct, as stated near the end of this article, the Build Service must be run as an Interactive Process.

    You might consider using a separate Build Server where you can change this setting. If you're using Test Studio Standalone version, also consider using our Scheduling feature.

    Kind regards,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top