I seem to be having an issue viewing the results of a scheduled test. I have my scheduling server all set up (on the same box as the execution server) and i can schedule test lists and watch the tests run - so i know this is all working correctly. The issue i am having involves viewing the results.
As you know, when you schedule a test, it appears on your calender with yellow shading. After the scheduled test runs, it remains on the calender shaded yellow (Dan Levy points this out in his tutorial video on TelerikTV). As he points out, you must click "Reload From the Server" and then it should turn green if the list passed, or red if it did not. Unfortunately, when I click "Reload from the Server" the yellow entry of my scheduled test disappears from the calender, and there is no longer any indication that it occurred. (Again, i watched it occur, and my execution server indicates that it occurred in the Last Test Run Results tab).
Oddly enough, when i run a test list on-demand (not through scheduling) it shows up on the calender and stays on the calender after the test, turning green for pass, red for fail - as it should. So the issue is only with scheduling.
In addition, in both cases (after on-demand tests, or scheduled tests) when i click "Manage Results," the field is empty - even though I have instances on my calender that tests have executed. Shouldn't a test run generate some kind of report...something i can pass on to my team lead to show him test progress?
The attached image tries to show everything at once: you can see the execution server indicates the last test was run around 7PM (scheduled) but there is no entry in the calender for it. (It disappears when the results were reloaded). Also, in spite of the visible runs in the calender, there is are no entries in the Run Results Viewer.
I know i threw a lot out there, but i appreciate your help.
-Zach
As you know, when you schedule a test, it appears on your calender with yellow shading. After the scheduled test runs, it remains on the calender shaded yellow (Dan Levy points this out in his tutorial video on TelerikTV). As he points out, you must click "Reload From the Server" and then it should turn green if the list passed, or red if it did not. Unfortunately, when I click "Reload from the Server" the yellow entry of my scheduled test disappears from the calender, and there is no longer any indication that it occurred. (Again, i watched it occur, and my execution server indicates that it occurred in the Last Test Run Results tab).
Oddly enough, when i run a test list on-demand (not through scheduling) it shows up on the calender and stays on the calender after the test, turning green for pass, red for fail - as it should. So the issue is only with scheduling.
In addition, in both cases (after on-demand tests, or scheduled tests) when i click "Manage Results," the field is empty - even though I have instances on my calender that tests have executed. Shouldn't a test run generate some kind of report...something i can pass on to my team lead to show him test progress?
The attached image tries to show everything at once: you can see the execution server indicates the last test was run around 7PM (scheduled) but there is no entry in the calender for it. (It disappears when the results were reloaded). Also, in spite of the visible runs in the calender, there is are no entries in the Run Results Viewer.
I know i threw a lot out there, but i appreciate your help.
-Zach
8 Answers, 1 is accepted
0
Hi Zachary,
take a look at the Scheduling Log. It's located here's on Win 7:
C:\Program Files (x86)\Telerik\WebUI Test Studio 2010.3\Bin\Telerik.WebUITestStudio.Scheduling.Log
I'm sure you'll find some sort of error there indicating what happened.
Also, check out this KB article:
http://www.telerik.com/automated-testing-tools/support/kb/scheduling/resolving-some-common-scheduling-issues.aspx
Let me know if you're still unable to get this to work!
Kind regards,
take a look at the Scheduling Log. It's located here's on Win 7:
C:\Program Files (x86)\Telerik\WebUI Test Studio 2010.3\Bin\Telerik.WebUITestStudio.Scheduling.Log
I'm sure you'll find some sort of error there indicating what happened.
Also, check out this KB article:
http://www.telerik.com/automated-testing-tools/support/kb/scheduling/resolving-some-common-scheduling-issues.aspx
Let me know if you're still unable to get this to work!
Kind regards,
Stoich
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Zachary
Top achievements
Rank 1
answered on 11 Mar 2011, 08:10 PM
Hi Stoich,
Thanks for the response. As I mentioned, the scheduled tests are running, so the link did not help, but i think there will be some useful info in the log. There is a problem saving the results. I have attachd the end of the logfile - there are a few different errors. Can you please take a look and advise me of what I can do?
Thanks,
Zach
Thanks for the response. As I mentioned, the scheduled tests are running, so the link did not help, but i think there will be some useful info in the log. There is a problem saving the results. I have attachd the end of the logfile - there are a few different errors. Can you please take a look and advise me of what I can do?
Thanks,
Zach
0
Accepted
Hi Zachary,
open the "Configure Scheduling Server" menu (screenshot 1). You need to create a new SQL database. To do this simply enter a new name for this database. The rest of the settings can remain the same (screenshot 1).
Now try using scheduling again - the problem should be resolved.
Let me know how it goes!
Stoich
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Zachary
Top achievements
Rank 1
answered on 22 Mar 2011, 05:05 AM
Hi Stoich,
This appears to have fixed the problem - Thanks!
Zach
This appears to have fixed the problem - Thanks!
Zach
0
Omkar
Top achievements
Rank 1
answered on 13 Oct 2011, 09:52 AM
Hi,
I am running my test through Batch File using command as
ArtOfTest.Runner.exe aii="C:\TelerikTests\MyTest\MyProjectTest.tstest"
After running the batch file the test executes successfully.
Is there any way through which I can get report saying Test Failed or Passed successfully.
Thanks & Regards,
Omkara
I am running my test through Batch File using command as
ArtOfTest.Runner.exe aii="C:\TelerikTests\MyTest\MyProjectTest.tstest"
After running the batch file the test executes successfully.
Is there any way through which I can get report saying Test Failed or Passed successfully.
Thanks & Regards,
Omkara
0
Hello Omkar,
yes, the results should be stored in the "Result" folder. This folder is located inside of the project to which the test belongs. For instance:
C:\Users\myusr\Documents\Test Studio Projects\TestProject48\Results
Kind regards,
Stoich
the Telerik team
yes, the results should be stored in the "Result" folder. This folder is located inside of the project to which the test belongs. For instance:
C:\Users\myusr\Documents\Test Studio Projects\TestProject48\Results
Kind regards,
Stoich
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
Omkar
Top achievements
Rank 1
answered on 13 Oct 2011, 11:20 AM
Thanks Stoich for the reply.
Yes When you run the test through Telerik Studio report gets generated but when I close the Telerik Studio and
run the test through batch file , result is not generated. Is there any command or other way which would generate report
after running the Test through batch file..
Regards,
Omkara
Yes When you run the test through Telerik Studio report gets generated but when I close the Telerik Studio and
run the test through batch file , result is not generated. Is there any command or other way which would generate report
after running the Test through batch file..
Regards,
Omkara
0
Hi Omkar,
please give me the exact steps required to reproduce this behavior. On my machine running tests directly through the CMD and indirectly through a Batch file both successfully generate Results. Check out these videos:
through CMD
through Batch file
Best wishes,
Stoich
the Telerik team
please give me the exact steps required to reproduce this behavior. On my machine running tests directly through the CMD and indirectly through a Batch file both successfully generate Results. Check out these videos:
through CMD
through Batch file
Best wishes,
Stoich
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