How can I find the specific process name and kill it?
For example, I have this Microsoft application open, and there can be multiple windows open on the application. Let’s say I am working on an open window A on the application.
When the robot tries to close window A like normally (e.g. attach window => close window), and if it fails, I want to just kill that window only, but not the entire application.
I cannot find the process name for that specific window, and I want to know how I can.
As of now, all I can do is, kill the entire application, but that’s not what I want. I want to kill only one specific window on the application, keeping the application itself open.
Thank you. The reason why I asked this question was because, sometimes there are so many different types of pop-ups when closing the window. I don’t want to handle each of them because there’s so many. I thought just killing the window itself is the easiest.