When the robot tries to “save as” a PDF document created in SAP, SAP opens a Microsoft Windows “Save As” window. I use a “Use Application/Browser” to focus on the window. When the activity starts to execute, the “Save As” and the SAP instance both get closed. After that, the activity shows an error message saying “Could not found the element on screen”.
SAP closes the “Save As” window because UiPath’s “Use Application/Browser” tries to reopen saplogon.exe instead of attaching to the existing popup. SAP GUI does not allow this and forces the popup to close. Verify the properties and set it accordingly.
Keep only a single “Use Application/Browser” for the main SAP window. In the properties of “Use Application/Browser”, Check the close property and set it to Never.
please check the properties of use application/browser …check the close proeprty and set it to never
specifically sap use app/browser
cheers
Thank you both for your answers. @Anil_G I solved it by setting the Close feature to Never for all the Use Application/Browser activities. The activity before the one I have the issue with, it was the one that closes the application.
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.