Generate TestCase description runtime?

Ask general questions here.
MJesper
Posts: 38
Joined: Fri Dec 28, 2018 2:16 pm

Generate TestCase description runtime?

Post by MJesper » Tue Feb 05, 2019 2:39 pm

Hi, I'm wondering if it's possible to generate a TestCase description during runtime? The furthest I can come is to set the "description" value in the XML to what I want and then save it, but later in the ranorex report the information I added never showed up, but if I manually go to the test case the information I added is in the description. Later if I run another test, the description is in the Ranorex report aswell.

What I want is having my description show up in the first report log, not the second one.
Thanks

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

Re: Generate TestCase description runtime?

Post by odklizec » Tue Feb 05, 2019 2:50 pm

Hi,

As far as I know, there is currently no way to add/edit the TC description from code. We discussed something similar here:
viewtopic.php?f=4&t=12628&p=50405
You can create a feature request here:
https://uservoice.ranorex.com/forums/15 ... ve-ranorex
An existing feature request regarding better TC documentation can be found here:
https://uservoice.ranorex.com/forums/15 ... on-options
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