Ask a Question

unable to get screenshot of device

praked1
Occasional Contributor

unable to get screenshot of device

praked1_0-1643886901521.png

 

What is the solution for this?

4 REPLIES 4
mikef
Staff

Hi @praked1 

 

Where was this warning generated? 

Have you checked the app security settings mentioned in the warning?

Can you give some steps to reproduce?

 

Thanks

fairpk
Visitor

Dears,

I am facing the same issue in every Android device having OS 11 or more, kindly help me to resolve the issue.
Description: Add the tested application, and select the option 'Show/hide mobile screen'. application would be installed but the screen of device will not be shown and the above mentioned error is shown in TestComplete.

Kindly advice the solution.

 

rraghvani
Trusted Contributor

FLAG_SECURE is a display flag declared in an app’s code. This flag is designed to prevent the data from appearing in screenshots or from being viewed on non-secure displays. Developers declare this flag when the app’s content should not be visible outside of the app or users’ device.

Deepan1590
Occasional Contributor

How do we get rid of this.. Is there any way to get in displayed in show/hide mobile screen

cancel
Showing results for 
Search instead for 
Did you mean: