Email Validation

Ask general questions here.
Fmbasesearch
Posts: 1
Joined: Fri May 03, 2019 2:15 pm

Email Validation

Post by Fmbasesearch » Fri May 03, 2019 3:21 pm

Hello,

I am new to Ranorex, could I get step by step on how to verify email arrival during testing when using the record.

Example, Verify email arrival in Outlook.com

Fmbasesearch

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

Re: Email Validation

Post by odklizec » Mon May 06, 2019 7:44 am

Hi,

Unfortunately, there is no such example available. There are many different outlook versions and it's hard to tell based of what you want to distinguish newly arrived email (sender name, subject, date/time, something inside the email,...). So please, be as specific as you can.

Generally speaking, you will have to create an xpath in repo, which would represent the expected email you wish to track. Then you can use WaitFor Exists action, which would wait for the appearance of xpath in outlook. In my opinion, it's the simplest code-less approach to achieve what you want?
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