Different Notification Messages from download monthly reports - Assignment 2

Hi all,

I am seeing 2 different ‘No report found’ messages appearing on random basis, as seen in the attached pictures below:

I am using IE for my web automation and both have the same selectors. How do I go about solving this? Thank you.

Use element exists for both pop up’s and place if condition and click ok (or pass the selector and click ok) @jay0201

use this selector

<wnd app='iexplore.exe' cls='#32770' title='Message from webpage' />
<wnd cls='Button' title='OK' />

Thank you guys for the replies I received. I tried both ways and the selectors method that @Aravind suggested actually worked for me. Shall post that as solutions. Thanks a million for the suggestions!