How to take snapshot of Desktop using Ranorex 2.1.3?

Ask general questions here.
cancerion
Posts: 30
Joined: Tue Jun 16, 2009 6:15 pm

How to take snapshot of Desktop using Ranorex 2.1.3?

Post by cancerion » Tue Aug 25, 2009 12:25 pm

Hi,

I am using Ranorex 2.1.3.

Can I take a snapshot of desktop having Outlook in Open state in Ranorex log?

Actually I want to see the Outlook state and applications opened at the time any exception happen.

Thanks,
Sachin

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: How to take snapshot of Desktop using Ranorex 2.1.3?

Post by Ciege » Tue Aug 25, 2009 4:07 pm

If you use Report.Screenshot() it will take a screenshot of your entire desktop and save it to the log.

If you use Report.Screenshot(YourObject) it will take a screenshot of your specified object (i.e. the Outlook client) and save it to the log.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

cancerion
Posts: 30
Joined: Tue Jun 16, 2009 6:15 pm

Re: How to take snapshot of Desktop using Ranorex 2.1.3?

Post by cancerion » Wed Aug 26, 2009 11:18 am

Thanks,
It works for me.