I am trying the trial version of WebUI Test Studio QA edition.
The application seems really good, but I can not find a way to schedule a test to run for example every 1 hour, or once every day.
How to do this?
It is important for me that tests can be scheduled to run automatically and that we can get e-mail notifications if a testcase fails.
Is this feature provided, or do all tests need to be executed manually?
Regards
Björn Söderberg
WebSearch
14 Answers, 1 is accepted
Thank you for your evaluation of WebUI Test Studio and the good words about our solution.
The feature is not yet available built-in. Since this is a frequent request though we will surely add it for a future version of the product (most probably later this year). In the meantime you can find a possible solution pointed on the blogs.
We appreciate your feedback so please keep it coming, thank you!
Greetings,
Konstantin Petkov
the Telerik team
It seems that I can schedule the tests as described in the blog using the windows scheduler. Will try this out today.
I have one more question that is critical for us.
At the end of each testcase if any of the steps fails i want to send a report by e-mail (or SMS) to myself so we can do something about it quickly. As far as I can see that can not be done from the application. But perhaps we can make a custom step and write that code in C#?
So my question is.
Is it possible to make a custom step where we write our own C# code that will see if any of the previous steps have failed and if so send an e-mail notification. Our programmers can easily write the code, the question is how we can know if the earlier steps failed or not. Is this information available to us from the code?
Regards
Björn Söderberg
WebSearch
What you and your programmers will want to do is override the CleanUp() method in a code behind file. This won't actually appear as a custom step. The code will resemble this:
public
override
void
CleanUp()
{
if
(
this
.ExecutionContext.TestResult.Result == ArtOfTest.Common.Design.ResultType.Fail)
{
// The test has failed. Perform any action needed on failure.
this
.Log.CaptureBrowser(
this
.ActiveBrowser);
}
base
.CleanUp();
}
To add this using QA edition follow these steps:
- Open the test you want this code added to.
- Click Script Step - you can skip this step if you already have a custom coded step. This is just to get the code behind file created. We won't actually be creating a custom coded step.
- Click Class View to view the entire code behind file.
- Above the added "CodedStep" line add the public override method as shown above. You can skip the CaptureBrowser if you like. I put it in there just for demonstration purposes. You can now delete the entire CodedStep method that was added in step 2 above. We won't be using it.
The only caveat to the above I need to warn you about is that the CleanUp method is only called at the very end of a test run... i.e. after all iterations of a data driven test have been executed. Let me know if I can be of further assistance.
Sincerely yours,Cody
the Telerik team
Just wanted to touch base with you. Did you get this problem resolved? Do you need any further assistance with this?
Kind regards,
Cody
the Telerik team
I am also trying the trial version of WebUI Test Studio QA edition. I saw this post is alittle over 5 months old and was wonder if this functionality is built into the product yet for this was a previous response "The feature is not yet available built-in. Since this is a frequent request though we will surely add it for a future version of the product (most probably later this year)"
Thanks,
Brad Hall
I'm happy to say that the feature was added. Our current official release is Q3 SP1. You can check out the new features here.
Specifically on Scheduling you can first check out this tutorial and also the Scheduling section in our Knowledge Base.
We're also hard at work on up-to-date documentation for WebUI Test Studio which will explain the Scheduling feature in with details.
Meanwhile try it out and please don't hesitate to ask if you have any questions at all related to WebUI Test Studio
Hope to hear from you soon!
Best wishes,
Stoich,
Thanks for getting back with me. I saw this about email notications in the documentation:
"Q: Does this feature include automatic sending of emails with the summary of the test result?
A: Yes, you can configure the Scheduling Server to connect and use an SMTP server. Then per scheduling test list you can add the recipient(s) email to send the run result to. We also provide the option to send emails conditionally, e.g. whether to get email when the tests complete, on test failure and more."
Here is the big money question for this is the functionality my company requires:
Does the email that is sent have a customizable subject line and body?
Thanks again,
Brad Hall
we're very seriously considering adding such a feature in the near future. I completely agree with you that it would be great to have it and I believe it would not be hard to add it.
To that end please could you describe in more detail exactly what your company needs in this respect. We'll take into account customer feedback when deciding priorities of feature requests.
I hope I've managed to answer this question for you, please let me know if there's anything else I can help you with.
Greetings,
Just curious to know whether the 'Customizable Email' feature has been added or not.
Thanks,
Kruba
not yet but you can vote for it here:
http://www.telerik.com/support/pits.aspx#/public/test-studio/6767
All the best,
Stoich
the Telerik team
The new scheduler does not give an option to schedule test every 1 hour. What is the best way to do it in 2011.2 version?
Thanks,
Vasu
as of our latest release this is still not implemented. It's still only a Feature Request. You can track it and vote for it from the this URL:
http://www.telerik.com/support/pits.aspx#/public/test-studio/6767
We take votes into account heavily when deciding on what new features/fixes to focus in the future.
Greetings,
Stoich
the Telerik team
Any assistance is appreciated.
Thanks,
we've implemented the feature that allows you to configure the content of your result emails. However, a feature that will allow you to run the test every hour is still on the drawing board.
Obviously, you can make Test Studio execute a TestList every hour but you would manually have to schedule those executions one by one. There's no button to say "RunEveryHour=true".
I hope this helps.
Greetings,
Stoich
the Telerik team
Test Studio Trainings