Generate a Summary of test ran

3 posts, 0 answers
  1. Pieter
    Pieter avatar
    8 posts
    Member since:
    Jul 2015

    Posted 30 Sep 2015 Link to this post


    So I have the following scenario, I have a 'controller' test that runs different sets of tests now they are all called using test as step.

    Now I want to create a report based on the following

    Steps passed.

    Steps not ran.

    Step failures.

    I did take a look at the documentation at, but that did not help as it only writes the 'controllers' results to the log file and not all the child tests results. I have also tried creating a property on the test and setting it via code but each time the test returns to the 'controller' the property is set to null again (this is rather annoying but gather that you clear all resources from memory once that test is done?) so that did not work for me, not at all.  So I really just want to get the report working for myself, We do and will use the built in report but it does not give me the results I require. Also I have set the test to have a OnAfterTestCompleted and like I said it only gives me the 'controllers' results.


  2. Pieter
    Pieter avatar
    8 posts
    Member since:
    Jul 2015

    Posted 02 Oct 2015 Link to this post

    I managed to Resolve this.

    I created a Object where all results are published to after the test is ran.

    I can then access the Object after the controller test is run from the OnAfterTestCompleted method and get all results is required.



  3. Ivaylo
    Ivaylo avatar
    782 posts

    Posted 05 Oct 2015 Link to this post

    Hello Pieter,

    Thanks for the update.
    Glad to hear you figured it out.

    I am closing this case.

    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top