Mobile/Device Screenshot

Ranorex Spy, Recorder, and Studio.
zeff
Posts: 1
Joined: Tue Apr 07, 2015 9:40 am

Mobile/Device Screenshot

Post by zeff » Tue Apr 07, 2015 9:47 am

Hi,

I would like to know is it possible to do mobile screenshot?
if yes, may I know how to use it?
if no, may I know how to call lock screen?

Thanks

Best Regards,

Zeff Tee

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

Re: Mobile/Device Screenshot

Post by odklizec » Tue Apr 07, 2015 8:57 pm

Hi,

You can take screenshots by using Report.Screenshot() method or recording action Report with parameter Screenshot (as described here).

I'm afraid, I don't understand your second question (about calling lock screen). What exactly you want to achieve? I'm sure there is no way to automate IOS system apps or 3rd party apps, which are not instrumented. On android, it may be possible to automate some system controls (thanks to Ranorex 5.3.0 improvements in this area). But I'm not quite sure about lock screen?
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