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

notification email settings

3 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Makarand
Top achievements
Rank 1
Makarand asked on 29 Jul 2014, 05:15 AM
We are evaluating the scheduling option with Test Studio [2014.2.618.0] to receive the scheduled test run results on defined email address(es).
Here, we are not getting Notification option tab while scheduling a test list.
The scheduling setup done is [ Run Locally ].

We would appreciate your feedback as it will help us in our evaluation positively.

regards,
Makarand

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 31 Jul 2014, 10:54 AM
Hello Makarand,

Thank you for contacting us.

To achieve this you can write your own execution extension.

In that extension in OnAfterTestListCompleted method you can implement your code for sending the mails. Once the test list is completed this method is called.

Hope this helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Makarand
Top achievements
Rank 1
answered on 07 Aug 2014, 05:25 AM
After implementing as you said, we are able to generate notification file when Test List is run manually. But, When we schedule Test List file is not getting generated??
Awaiting for quick reply................. 
0
Boyan Boev
Telerik team
answered on 11 Aug 2014, 12:35 PM
Hello Makarand,

Where do you execute the test list? Do you execute them on a remote machine?

If you execute the test remotely on other machine than scheduling (i.e. machine where the scheduling server is installed)  OnAfterTestListCompleted is not triggered. We have logged a bug report about this.

I have found a very simple workaround on how to trigger OnAfterTestListCompleted method.

Simply create a *.bat file which contains the path to the test list and run this file via Windows Task Scheduler. This will run the test list via ArtOfTestRunner and OnAfterTestListCompleted will be called.

Here is a demonstration video.

In the video OnAfterTestListCompleted method calls the dialog which appears after the test run.

Let me know if this helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Makarand
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Makarand
Top achievements
Rank 1
Share this question
or