This is a migrated thread and some comments may be shown as answers.

How to write results when test is not totally ended

1 Answer 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 27 Feb 2013, 06:49 AM
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

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 27 Feb 2013, 11:20 AM
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,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Kevin
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or