Question

Pega Delay Notification

I am in the process of automating running an error report. I have no issues until I use the PerformClick method to click the "Export to Excel" button in the web application (in IE browser). Once the button is clicked, the Save HTML window pops up as expected, but then the automation times out and a delay notification error pops up (see attached). I have never seen this error... any reason why it would be happening if the button appears to be working?

Correct Answer
October 7, 2019 - 1:22pm

I believe that the PerformClick method on that button is synchronous, meaning it won't return until the window it launches is closed. I would use a Parallel Process to click the button on one thread and handle and close the window on another. You can use the bottom link out of the Parallel Process to continue after you have finished with that window.

Comments

Keep up to date on this post and subscribe to comments

Pega
October 4, 2019 - 9:46am

Would you please post a screenshot of your automation?

October 8, 2019 - 12:00pm
Response to tsasnett

This is the portion where the error occurs. The Delay Notification error occurs when I am testing the methods controls during interrogation. During debugging, the Save HTML window pops up as expected, so the Export to Excel button (I'm assuming) is working, but nothing happens after that.

Pega
October 7, 2019 - 1:22pm

I believe that the PerformClick method on that button is synchronous, meaning it won't return until the window it launches is closed. I would use a Parallel Process to click the button on one thread and handle and close the window on another. You can use the bottom link out of the Parallel Process to continue after you have finished with that window.

October 8, 2019 - 12:01pm

This worked - thanks!