Generate Yearly Report-Performer not working after processing first workitem. Getting an error "On Element Appear 'download completed': Activity timeout exceeded"

Hello RPA Expert out there,
I am new to RPA tool and currently learning to solve Generate Yearly Report - Assignment 2 of UIPath RPA Developer Advance training.

I have created the Generate Yearly Report as the guidelines provided. This process workflow is working correctly for 1st workitem and upload the yearly report successfully but when it picks up the 2nd workitem for processing, it generate an error at ‘On Element Appear’ activities in System1_CreateYearlyReport.xaml file. I have tried below property as advised in many blogs

  1. RepeatForever - False
  2. WaitVisible - True
  3. WaitForReady - None / Interactive / Complete (tried all the options)

I have tried to set the selector dynamically also by storing the selector in a variable first then setting this variable as a selector for OnElementAppear activity but nothing seems to work for me. I am attaching the screenshort of CreateYearlyReport.xaml file.

Same code is working fine for 1st items and download the reports for all the months, upload the report successfully.

Please anyone help me out to resolve this problem. I am stuck on this assignment.

Error I am getting is as below -
On Element Appear ‘download completed’: Activity timeout exceeded

I have the same problem

Hello guys @Gautam_Kumar1 @Carlos_Lopes

On Element Exists make sure that your selector is dynamic, uncheck “Title”… :point_down:

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

I should point out, that you have to make sure, that all of the onces you have should be dynamic…

Thanks @Carlos_Lopes,
I have used the dynamic selectors for all the activities wherever needed.
Below is the selector used for OnUiElementAppear acitivity


For 1st workitem, it works correct but while processing 2nd workitem, it gives me the mentioned error.

1 Like

@Gautam_Kumar1

Please add “Error” Screenshot…

Below is the screenshot of output pane I get after processing 1st transacton.
image

1 Like

Below is the screenshort I am using for on element appear activity

image

and below is the screenshot for the selector I have used for elementExists activity

image
Please suggest what I am missing.

1 Like

ElementExist property is working fine. OnElementAppear activity is not working correctly after 1st item has processed. So is ElementExist creating a problem?

1 Like

@Gautam_Kumar1

On Element Apear, Uncheck Title (Omit)… :point_down:

@Gautam_Kumar1

Also, use debugging, to get exactly where it stops… Let me know if it works for you :slight_smile:

Hello @mz3bel
I am getting below error now

I am using the below selector for Click for push button to close the popup when downloading is finshed
image

I have removed the title attribute you’ve mentioned in the above post. That is also not working.

1 Like

@Gautam_Kumar1

Omit the title for this one too… Let me know how it goes :slight_smile:

Hello @mz3bel,
Seems it’s working fine now. Thanks a ton buddy. You saved my lot of time. Since 2 days, I was trying to resolve it. If there would be any issue again, I would let you know. but as of of it seems it will work fine.
Thanks again for your help.

1 Like

@Gautam_Kumar1

Glad to hear that it works ! You can Tag me anytime :slight_smile:

Mark as solved, by correct answer :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.