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

TRIGGER AUTOMATIC EXECUTION OF TEST LIST

3 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vaibhav
Top achievements
Rank 1
Vaibhav asked on 16 Jan 2012, 08:32 PM
I was wondering if there is a way to trigger automatic execution of test lists when a new build of the application under test is released. I know Test Studio provides the facility of scheduled test list execution, but my question pertains to a situation wherein I want the test lists to start executing automatically as soon as a new build is pushed into my QA environment.
I am hoping there is some kind of a linking technique which sends out a trigger to Test Studio as soon as the release has been completely pushed into the environment.

Suggestions welcome from anyone who has tried this...

3 Answers, 1 is accepted

Sort by
0
Accepted
Jonas
Top achievements
Rank 2
answered on 17 Jan 2012, 10:47 AM
Hello Vaibhav,

We have managed to solve this by making a application to start the tests on a execution server.
The ArtOfTest.Runner.exe can take some arguments witch makes this possible.
            var p = new ProcessStartInfo();

            string list = @"list=""C:\MonitorDesktop\TelerikTestStudio\Byggd\TestLists\WTestApp.aiilist""";

            string serverPublish = "serverPublish=true";

            p.Arguments = list + " " + serverPublish;

            p.FileName = @"""C:\Program Files (x86)\Telerik\Test Execution 2011.2\Bin\ArtOfTest.Runner.exe""";

            ConsoleWrite("Starting Testlist : WTestApp.aiilist");
            Process.Start(p);

Then i've made a FileSystemWatcher that is looking on a file (this files changes when a new build of the program is complete). With the ServerPublish=true, makes us see the result directly in the TestStudio.
When this file is changed it starts copying new files, then executes the test.
I dunno if this is the best sollution, but we managed this and it's working perfect for us. Hopefully it can help you aswell.

//Jonas

0
Vaibhav
Top achievements
Rank 1
answered on 18 Jan 2012, 03:56 PM
Thanks Jonas for the reply. I am going to try the solution out and post my feedback soon.

Vaibhav
0
Mark
Top achievements
Rank 1
answered on 12 Aug 2014, 02:54 PM
[quote]Vaibhav said:Thanks Jonas for the reply. I am going to try the solution out and post my feedback soon.[/quote]

How'd it go? It's 2014. Did you post your feedback? :)
Tags
General Discussions
Asked by
Vaibhav
Top achievements
Rank 1
Answers by
Jonas
Top achievements
Rank 2
Vaibhav
Top achievements
Rank 1
Mark
Top achievements
Rank 1
Share this question
or