OnElementAppear error - Activity Timeout exceeded - Assignment 2

Assignment 2, GenerateYearlyReport in System1_CreateYearlyReport.xaml in activity OnElementAppears it shows error that timeout exceded. In properties I enabled WaitVisible, RepeatForever I changed to False and WaitForReady I set COMPLETE, but does not work.
Does somebody could guide me what would be wrong?
Selector is : " "

Image is following:

try by giving some time out ms

Have you set RepeatForever to false ?

Yes, I set it as False but it does not work

Paste a screenshot of your whole selector.

Sorry, Thank you for your answer, This is the screenshot. I thought disabling the last one it worked but it does not work.

Shall i recommend another way to do this?

Try below:
Remove OnElementAppear, use ElementExists.

<wnd app='iexplore.exe' cls='IEFrame' title='ACME System 1 - Reports - Download Monthly Report - Internet Exp*' />
<wnd cls='Frame Notification Bar' />
<wnd aaname='Notification' />


1 Like

Actually I did it like this and it works, I do not know why does not work OnElementAppear. Actually in the same exercise in other workflow it did not work either and also I had to use ElementExists. Thank you very much!!


Happy to help :robot:


I had the same problem and it solved my problem, too. Thanks!

But I don’t understand why OnElementAppear didn’t work!!

1 Like

Hi @FiroozehM. can I have your email id. could you assist to check on my workflow

@FiroozehM, did it detect any change?

I haven’t submit it, yet. I still debugging the rest of the assignment.

1 Like