Hi All, What is the best way to close an application in uipath?
Kill the process
Regards,
Nithin
why not close application.
Can you please describe?
What application are you using ? Generally relaying on Ui Automation for closing an application is risky, what if a certian element is not found?, the robot will log an error & the application will still be open… This is why be it desktop or web automation we kill a the process just to ensure that it’s closed at any cost. Killing a process will never fail (unless you have permission issues).
Regards,
Nithin
Can close the application by below methods
-
Close Window
-
Close Tab
-
Kill process
Hi @Hitesh1
There’s alot of way to close the application in uipath.You can sendhotkeys,kill the process,closetab or just easily close the window.
cheers
Happy learning
Use Try Catch block and in Try block mention required activities to close the application. If any thing got failed then it will come to Catch block and here use Kill Process activity and pass the process name you want to close it.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.