Posted: 3 Oct 2019 16:23 EDT Last activity: 8 Oct 2019 12:01 EDT
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?
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.
Posted: 2 years ago
Posted: 7 Oct 2019 13:22 EDT
Thomas Sasnett (ThomasSasnett)
Lead Robotics Architect
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.