Ranorex Report: Category field length

Bug reports.
brgibb
Posts: 39
Joined: Wed Jun 05, 2013 2:15 pm

Ranorex Report: Category field length

Post by brgibb » Thu Aug 22, 2013 3:08 pm

Hi,

Is the size of the Category column in the Ranorex report customise-able?

I have inherited some code whereby all logged out detail in the Ranorex Report has the Category altered from the default to include method names and Thread IDs.

The length of the Category string in this case is quite long and can push the formatting of the report out of alignment.

There may be a better way of including such information in the test report but am I right in thinking the .css of the report would need changed somehow?

Thanks in advance.
Report.jpg
Report.jpg (54.12 KiB) Viewed 1393 times

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

Re: Ranorex Report: Category field length

Post by Support Team » Fri Aug 23, 2013 4:05 pm

Hi,

This is unfortunately a bug with the report format, it occurs when the category is longer than 13 characters. The bug is added to our internal bug tracking system.

Thanks for reporting this issue!

Regards,
Markus
.
Image

brgibb
Posts: 39
Joined: Wed Jun 05, 2013 2:15 pm

Re: Ranorex Report: Category field length

Post by brgibb » Fri Nov 01, 2013 4:40 pm

Hi,

What's the road map for fixing this if issue?

Thanks,

Brian.

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

Re: Ranorex Report: Category field length

Post by Support Team » Mon Nov 04, 2013 1:47 pm

Hi,
brgibb wrote:What's the road map for fixing this if issue?
Currently we cannot tell you when this will be available, but you could use a custom XSL File where you can increase the size of the category. You have to modify following section in your custom xsl
<div class="module-report">
     <TABLE border="0" cellSpacing="0" class="reporttable">
      <thead>
       <th width="10%" >
         <b>Time</b>
       </th>
       <th width="8%" >
         <b>Level</b>
       </th>
       <th width="12%" >
         <b>Category</b>
       </th>
       <th>
         <b>Message</b>
       </th>
      </thead>
     
      <tbody>      
       <xsl:if test="$loadAll = 1">
        <xsl:apply-templates select="./item">
          <xsl:with-param name="type">testsuite</xsl:with-param>
        </xsl:apply-templates>
       </xsl:if>
      </tbody>
          
      <!-- additional metadata per module activity (added by mgi) -->
      <xsl:copy-of select="./varbindings/varbinding"/>
     </TABLE>
    </div>
But please consider if the size of your string is smaller, the category cell will have empty space on the end of the string.

Regards,
Peter
Ranorex Team
.
Image

brgibb
Posts: 39
Joined: Wed Jun 05, 2013 2:15 pm

Re: Ranorex Report: Category field length

Post by brgibb » Tue Nov 05, 2013 4:19 pm

Hi,

Not using Ranorex Studio but rather Visual Studio where do I find this .xsl file to edit?

Edit:

Ah ok - Ok - I see this:

http://www.ranorex.com/Documentation/Ra ... etup_3.htm

and this:

http://www.ranorex.com/forum/ranorex-re ... t2445.html


I also have the same question....

What should be in the view.rxlog? I am getting a blank report when I use the file from the samples folder.

Thanks,

Brian.

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

Re: Ranorex Report: Category field length

Post by Support Team » Fri Nov 08, 2013 4:15 pm

Hello Brian,

Markus answered the post on the second page of the forum thread Ranorex Report filters sorted by messages order.
Please let me know if this answers your question.

Regards,
Bernhard
.
Image