Retrieve steps comments for a test case

Class library usage, coding and language questions.
FBen
Posts: 2
Joined: Mon Jun 21, 2021 10:53 am

Retrieve steps comments for a test case

Post by FBen » Mon Jun 21, 2021 4:50 pm

Hello,

For reporting purpose, I need to retrieve comments from actions of all test modules of a test case. cf screenshot.
Do you know if I can have access to this property from my user code?
Thanks in advance for your help.
Fred
Attachments
Comments.png
Comments.png (9.58 KiB) Viewed 378 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7072
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Retrieve steps comments for a test case

Post by odklizec » Wed Jun 23, 2021 8:53 am

Hi,

As far as I know, there is no public API for obtaining recording comments. However, comments should be automatically displayed in report, if report level is set to Info (Debug probably too).
https://www.ranorex.info/viewtopic.php? ... 80&#p62182
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

FBen
Posts: 2
Joined: Mon Jun 21, 2021 10:53 am

Re: Retrieve steps comments for a test case

Post by FBen » Mon Jun 28, 2021 3:42 pm

Thanks for your reply Pavel.
Actually I planned to send some comments to a third part application via a REST API.
But nevermind, I'll create my own UserCode code comment to bypass this limitation.

Regards,