How to Get Test Case Description with Code

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
sheafox
Posts: 33
Joined: Mon Jul 09, 2018 3:54 am

How to Get Test Case Description with Code

Post by sheafox » Thu Oct 14, 2021 3:38 pm

How do you get the test case description in code? I am trying to get the test case description of each of my completed test cases in a final tear down routine for the test suite . I want to get the description at the very end of the test suite. Is this possible?

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

Re: How to Get Test Case Description with Code

Post by odklizec » Thu Oct 14, 2021 3:48 pm

Hi,

Sure. it's possible. Check this post with sample code:
get-test-case-description-t9579.html#p38552
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