Search found 3 matches

by chris.riether
Wed May 16, 2018 1:28 pm
Forum: Automation Tools
Topic: Log image in report
Replies: 4
Views: 2507

Re: Log image in report

Hi! Thanks a very lot! Now, I've got all I needed. The reason why LogData with just the bitmap variable didn't work must have been some little bug by me copying the bitmap out of the XAML image. Fixed it. Now it works. Thanks for hinting me to snoop there. And the CaptureDesktopImage with Rectangle ...
by chris.riether
Wed May 16, 2018 9:54 am
Forum: Automation Tools
Topic: Log image in report
Replies: 4
Views: 2507

Re: Log image in report

Hi Alex! The provided code snippet works great! Thanks a lot! Is there an equivalent wrapper for images in memory, e.g. System.Drawing.Bitmap, instead of file? Just for optimization. Now i have to save it, so the Report can load it, to save it, again. What I meant with "Xaml-Window": if I create a w...
by chris.riether
Tue May 15, 2018 3:50 pm
Forum: Automation Tools
Topic: Log image in report
Replies: 4
Views: 2507

Log image in report

Hi there, I'm using Ranorex 6.0.2. I have a test scenario, where I load an image from a device into an WPF window for displaying. Now I want to log this image into the Ranorex report. Found some suggestions from Version 2.x that IReportLogger.LogData() should work with System.Drawing.Bitmap (and onl...