Email Content

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

Email Content

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

Hello,

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
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7465
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Email Content

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

Hi,

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