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

Reports of Execution

4 Answers 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
VVP
Top achievements
Rank 2
VVP asked on 10 Jun 2015, 10:34 AM

Hi,

 

I am wondering if telerik has a option to generate any report of test execution.

Automation test people only need logs, i agree. But when we need to submit to others we are finding it difficult as i couldn't find any reports.

I thought after execution a report will be generated with steps executed , like Pass and Fail.

 If any method exists ,kindly let me know. 

Thanks,

VVP

4 Answers, 1 is accepted

Sort by
0
Pravallika
Top achievements
Rank 1
answered on 10 Jun 2015, 10:46 AM

Hi,

There is a class named TestResult which has getter methods for TotalPassedSteps, TotalNumberOfNotRunSteps, Result status, StartTime, Duration and many more.

You can use an object of that class to write all these methods into a custom file of your own.

It works for me! :-) Attached is the method which I used in my TTS scripts to generate the result file. You can check it out.

 Also, there is a telerik documentation link explaining the same:

http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/external-log-file

 

Thanks,

Pravallika.

0
VVP
Top achievements
Rank 2
answered on 11 Jun 2015, 08:35 AM

Thanks.

Will take a look into that.

Thanks,

VVP

0
VVP
Top achievements
Rank 2
answered on 11 Jun 2015, 08:40 AM

Thanks,

Will take a look at that.

Thanks,

VVP

0
VVP
Top achievements
Rank 2
answered on 11 Jun 2015, 08:40 AM

Thanks.

Will take a look at that.

Thanks,

VVP

Tags
General Discussions
Asked by
VVP
Top achievements
Rank 2
Answers by
Pravallika
Top achievements
Rank 1
VVP
Top achievements
Rank 2
Share this question
or