Data Range Info in the RxLog data file

Ask general questions here.
octogon
Posts: 3
Joined: Wed Aug 10, 2016 2:34 pm

Data Range Info in the RxLog data file

Post by octogon » Thu Aug 11, 2016 7:39 am

Hello All,

I am trying to parse the rxlog data file. For my test case I have a data range on my data source set. I noticed that the test case activity node has an attribute named iterationcount which shows the total amount of rows in my data source and does not apply the data range that was set. Is there way to know this information?

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Data Range Info in the RxLog data file

Post by Support Team » Fri Aug 12, 2016 2:03 pm

Hi octogon,

The actual number of iterations is not stored inside the date file. As a workaround you could count all <activity> tags whereby the type attribute is "test case iteration".

May I ask you what exactly you want to achieve? Perhaps, we could find a better workaorund for your intention.

Regards,
Markus (S)
.
Image

octogon
Posts: 3
Joined: Wed Aug 10, 2016 2:34 pm

Re: Data Range Info in the RxLog data file

Post by octogon » Wed Aug 17, 2016 8:38 am

Hello,

Thanks for your answer.
What I am trying to do is to load the rxlog.data_tmp during a test run and parse its contents in order to sort out the failed,succeeded and blocked test modules. I want to show the actual amount of iterations a certain test module will undergo. If no data range is set taking the value of the iterationcount attribute of the test case activity node will do. Is there a way to insert a custom attribute that shows the amount of actual iterations in case of a data range?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Data Range Info in the RxLog data file

Post by Support Team » Thu Aug 18, 2016 1:16 pm

Hi octogon,

Thank you for the clarification.

Unfortunately I'm afraid there is no out of the box solution available for your intention. Please also note that it is not recommended opening or modifying the tmp file during the test execution.
This could lead to unexpected errors.

Thank you for your understanding.

Regards,
Markus (S)
.
Image