How to write results when test is not totally ended

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    9 posts
    Member since:
    Jul 2012

    Posted 27 Feb 2013 Link to this post

    Hi team,
    recently i am using excel to import my test data for testing, but here is an issue: in my excel file, there will be more than 5 columns, so i need to iterate this 5 columns to execute my test, for some specific reasons, i want to get the test results when every iteration is finished. i do not know if you have any solution that i can write result into some result file when one iteration finished or other useful ways. please response this question soon once you get it, thanks
  2. Plamen
    Plamen avatar
    8 posts

    Posted 27 Feb 2013 Link to this post

    Hello Kevin,

    You can do this by overriding the OnAfterTestCompleted method and using the TestResult class. Please see here and here for more information on how to use it. This method will be executed after each iteration.

    All the best,
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top