Change Report.Screenshot image

Ask general questions here.
Posts: 38
Joined: Fri Dec 28, 2018 2:16 pm

Change Report.Screenshot image

Post by MJesper » Tue Apr 30, 2019 3:45 pm

Hi, I would like to use Report.Screenshot but modify the image that appears in the rxlog, (perhaps something like Report.Screenshot(bitmap)?)

Is there something like this in ranorex today?

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

Re: Change Report.Screenshot image

Post by odklizec » Tue Apr 30, 2019 3:53 pm


Report.Screenshot is meant to be used with live UI element. Hence there is no parameter to load image from disk or memory. If you want to add an existing image from hdd to report, use Ranorex.Imaging.Load instead, as shown for example here:
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