Customised Rep0rting

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 110
Joined: Sun Apr 14, 2019 9:46 am

Customised Rep0rting

Post by theraviz » Mon Mar 28, 2022 1:55 pm


I am automating mobile apps in both android and ios version. Here I have to capture screenshots of the menus which i am automating. i want to take screenshots of specific pages and save it to a particular folder in pc. without using the ranorex report how can i take screenshots and save it in a system folder where the phone is connected to?

Certified Professional
Certified Professional
Posts: 120
Joined: Mon Mar 22, 2021 10:01 pm

Re: Customised Rep0rting

Post by Jacob » Thu Apr 21, 2022 5:56 pm

Hi theraviz,

From the documentation on the Report.Screenshot method and its overloads, I don't see a way to tell Ranorex to not put the screenshot on the report, nor do I see a way to tell Ranorex to put an individual screenshot somewhere else. I'm not sure there's a way to capture a screenshot of a mobile device outside of the Ranorex API, but it is perfectly possible to tell Ranorex to store report files from the test in a folder of your choosing by adjusting the Report Settings.