I am currently automating a process which requires printing an online report to PDF, and have my automation accurately saving the first report, and closing the required tabs, before returning to the main screen and trying to find the second report, whereupon it struggles. I have removed the first report from the array, and it is able to find the second, so the report selector itself is accurate, and I feel it is due to the Save As pop up, and following pop up Progress Bar getting in the way of UiPath:
I have used a “Wait for element to vanish” activity for this, however I don’t think it is able to see either of the pop ups.
My selector is: / <wnd app='acrord32.exe' cls='#32770' title='Save Print Output As' /> which is selected when using UiExplorer to select it dynamically. This is contained within an “Attach Window” block.
I’ve automated a similar scenario and had some trouble waiting for the print progress box to disappear below is the selector that ultimately worked for me. I’m opening them in the desktop version of acrobat reader 2017 release though.
Possibly, I use the “WaitNotActive” property set to true for my use case and “WaitForReady” is set to “Complete”. Have you tried adjusting the timeout on the wait for vanish? It could be that your print takes longer than the default timeout duration (seems unlikely at 30 seconds but you never know).