Page 1 of 1

Huge rxlog.data file though if-condition

Posted: Tue Mar 20, 2018 11:12 am
by fablich
We have an outer Data-Source connected to our Test-Case and a Smartfolder with an if-condition inside. The Smartfolder has its own (inner) Data-Source.
The outer Data-Source detirmes wheter the Smartfolders if-condition is fulfilled or not.
So basically at the start of the solution the if-condition can be calculated to decide wehter or not the inner Data-Source should be read or not.

In our case we can reproduce (see Attachments) that the whole inner Data-Source is read into the log-file. That meant a 100MB rxlog.data File for each Iteration in a real test-Iteration.
We found a workaround for this issue with a user-code-module that sets the Data-Range of the inner Data-Source from 1 to 1. That reduced the rxlog.data File from 100MB to 1 MB. But we still read one unneeded row into our log-files. So it is a bit quick and dirty.

Is there a better solution available?
test1.PNG
test2.PNG

Re: Huge rxlog.data file though if-condition

Posted: Tue Mar 20, 2018 12:26 pm
by odklizec
Hi,

Your workaround is probably the best you can currently do. There is already a feature request about excluding unfulfilled conditions from report. Please cast a vote...
https://uservoice.ranorex.com/forums/15 ... e-unfulfil

Re: Huge rxlog.data file though if-condition

Posted: Tue Mar 20, 2018 1:12 pm
by fablich
odklizec wrote:Hi,

Your workaround is probably the best you can currently do. There is already a feature request about excluding unfulfilled conditions from report. Please cast a vote...
https://uservoice.ranorex.com/forums/15 ... e-unfulfil
Thanks for the quick Response. The idea got my vote.