Email Content

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

Email Content

Post by theraviz » Tue Aug 02, 2022 1:46 pm


I have a scenario where I have to read an email content which is outlook web. When I use the spy I’m not able to identify the body part. Subject and others are identifiable but not the body contents.

Is there anyway to get the contents?

Thanks and Regards

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

Re: Email Content

Post by odklizec » Mon Aug 08, 2022 8:16 am


Unfortunately if the Spy is not able to track the elements and there are no errors or warnings thrown by the Spy, you are probably out of luck. Ranorex most probably does not support the given outlook web control? Your only (limited) option may be using GDI Capture technique. But as many times before, it's impossible to tell without seeing, at very least, a Ranorex snapshot ;)
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