Loading Test Results Issue

9 posts, 1 answers
  1. Zachary
    Zachary avatar
    21 posts
    Member since:
    Dec 2010

    Posted 10 Mar 2011 Link to this post

    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
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 11 Mar 2011 Link to this post

    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,
    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!
  3. Zachary
    Zachary avatar
    21 posts
    Member since:
    Dec 2010

    Posted 11 Mar 2011 Link to this post

    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
  4. Answer
    Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 14 Mar 2011 Link to this post

    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!

    Greetings,
    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!
  5. Zachary
    Zachary avatar
    21 posts
    Member since:
    Dec 2010

    Posted 22 Mar 2011 Link to this post

    Hi Stoich,

    This appears to have fixed the problem - Thanks!

    Zach
  6. Omkar
    Omkar avatar
    2 posts
    Member since:
    Oct 2011

    Posted 13 Oct 2011 Link to this post

    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
  7. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 13 Oct 2011 Link to this post

    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
    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
  8. Omkar
    Omkar avatar
    2 posts
    Member since:
    Oct 2011

    Posted 13 Oct 2011 Link to this post

    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
  9. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 18 Oct 2011 Link to this post

    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
    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
Back to Top