This is a migrated thread and some comments may be shown as answers.

Command line execution result publishing

5 Answers 170 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sammy78
Top achievements
Rank 2
Sammy78 asked on 03 Feb 2012, 02:58 PM
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"

5 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 03 Feb 2012, 04:18 PM
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
0
Sammy78
Top achievements
Rank 2
answered on 03 Feb 2012, 04:28 PM
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.
0
Anthony
Telerik team
answered on 03 Feb 2012, 06:42 PM
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
0
Sammy78
Top achievements
Rank 2
answered on 22 Feb 2012, 04:28 PM
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
0
Anthony
Telerik team
answered on 22 Feb 2012, 05:24 PM
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
Tags
General Discussions
Asked by
Sammy78
Top achievements
Rank 2
Answers by
Anthony
Telerik team
Sammy78
Top achievements
Rank 2
Share this question
or