Page 1 of 1

Report Screenshot black screen

Posted: Thu Aug 15, 2019 7:43 pm
by priyank1989
I have an application using OpenGL, running automation script is generating Reports and reports have screenshot with back screen.

Re: Report Screenshot black screen

Posted: Fri Aug 16, 2019 9:28 am
by qwertzu
hi,

could it be that you execute your test on a remote machine after closing the RDP connection?
You need to make sure that the user session stays active on that machine.
More information can be found here under "Keep user session alive after closing remote desktop connection".

regards, qwertzu

Re: Report Screenshot black screen

Posted: Fri Aug 16, 2019 10:21 pm
by priyank1989
I am running on my own machine ...

Re: Report Screenshot black screen

Posted: Tue Aug 20, 2019 1:09 pm
by qwertzu
hi,

so, these black screenshots are also created when running your test from within ranorex studio on your local machine?
you could try to disable the setting "Use hidden screenshot capturing".
UseHiddenScreenshotCapturing.png
regards, qwertzu

Re: Report Screenshot black screen

Posted: Wed Aug 21, 2019 8:39 pm
by priyank1989
Yes its happening while running on my local machine.. I am testing one of my Android application and its using openGL so is there any chance like because of openGL its giving me blank screen on report ..
And yes I tried your option of and unchecked "used hidden screen shot capturing" but no luck

Re: Report Screenshot black screen

Posted: Thu Aug 22, 2019 7:29 am
by odklizec
Hi,

What happens if you are creating test steps in your app? Does the repository show images or black rectangles as well? It could very well be that OGL simply blocks creation of screenshots and there may be nothing you can do about it?

Also, have you tried to disable full image comparison in the instrumentation wizard?...
FIC.png

Re: Report Screenshot black screen

Posted: Thu Aug 22, 2019 11:16 pm
by priyank1989
I tried Instrument option as well but no luck, my automation UI is underneath of openGL so may be changing the structure of that I may get screenshot .

Re: Report Screenshot black screen

Posted: Mon Dec 11, 2023 9:47 am
by keat
Hi,
Is that screenshort comes with Report.Info()
I used this command, some has screen short, some donot. How to define.
What was your solution?