Rename Iteration in RXLOG : Automation API

Rename Iteration in RXLOG

Class library usage, coding and language questions.

Rename Iteration in RXLOG

Postby cveith » Mon Oct 31, 2011 12:23 pm

Hi Forum,

is there a way to rename an Iteration in the rxlog report during test execution ?

We're using a csv datasource and use the Databinding to open different Files in the Software under test. We would like to see
"Iteration: Filename..." instead of "Iteration: 1".

Is it possible to change this ?

kind regards

Christian
cveith
 
Posts: 3
Joined: Mon Oct 31, 2011 11:08 am

Re: Rename Iteration in RXLOG

Postby Support Team » Mon Oct 31, 2011 12:43 pm

Hi,
cveith wrote:is there a way to rename an Iteration in the rxlog report during test execution ?

Sorry but this is not possible. But you can add an info log to your report with the current csv file.

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Rename Iteration in RXLOG

Postby cveith » Mon Oct 31, 2011 1:20 pm

Hi Peter,

thanks for your quick response. Would it be possible to have such a feature in future versions ?

Maybe defining a column in the csv which could be taken as a Iteration Name.
cveith
 
Posts: 3
Joined: Mon Oct 31, 2011 11:08 am

Re: Rename Iteration in RXLOG

Postby Support Team » Mon Oct 31, 2011 1:44 pm

Hi,

We could add the DataConnector name to the iteration. Is this okay for you?
Iteration: x Data Connector Name

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Rename Iteration in RXLOG

Postby cveith » Wed Nov 16, 2011 12:28 am

Hi Peter,

sorry for my late response.

I've found a way getting the information presented :)

I've extended the rxlog Stylesheet file. It now tests the datarows given in the rxlog file for a field called "IterationName". If it's there, the value will be taken in the Testcase "Iteration: MyText from the Field".

I've appended it in the line 2189 in the attached xsl file.

kind regards

Christian
Attachments
RanorexReport3.zip
(110.94 KiB) Downloaded 21 times
cveith
 
Posts: 3
Joined: Mon Oct 31, 2011 11:08 am


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests