Report Screenshot format

Class library usage, coding and language questions.
hellboy81
Posts: 25
Joined: Sun Dec 10, 2017 8:52 pm

Report Screenshot format

Post by hellboy81 » Fri Jun 15, 2018 2:17 pm

How can I to save screenshot in PNG format?

Code: Select all

// Report.Screenshot method

Report.LogData(level, category, message, bitmap, metaData)

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

Re: Report Screenshot format

Post by odklizec » Fri Jun 15, 2018 2:36 pm

Hi,

As far as I know, there is currently no way to save report images in different format than jpeg? The only thing you can probably do is to save screenshot as a standalone file (e.g. using code as described >here<, just change image format to PNG).
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