How to change data row count to for example a lable

Best practices, code snippets for common functionality, examples, and guidelines.
j.graaf
Posts: 1
Joined: Fri Sep 27, 2019 7:41 am

How to change data row count to for example a lable

Post by j.graaf » Tue Oct 15, 2019 4:04 pm

Hi,

In my execution report I see the data rows that are executed "1" or "2" for example. I want to replace this value by a label that is linked to the dataset that I have used in this execution. For example I want to execute row 1 of a dataset. A column in the dataset is called label and the name I want to see on my execution report, instead of "1" or "2", would be the value in the cell of the column label (this will be hardcoded) that is in row 1.

Is this even possible? And if where can I find the variable in the custom execution report files where to manipulate this.

Thank you!

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

Re: How to change data row count to for example a lable

Post by odklizec » Wed Oct 16, 2019 7:43 am

Hi,

For this you must create a custom report template and do some changes in RanorexReport.xsl file. For more details, please check this post:
https://www.ranorex.com/forum/custom-re ... tml#p47370
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