Wondering how "CloseApplication" works under the hood - WPF.
-
- Posts: 12
- Joined: Mon Jan 27, 2014 10:33 pm
Wondering how "CloseApplication" works under the hood - WPF.
I was wondering what happens when Ranorex API calls "CloseApplication" for a Windows 8 wpf application. Does "CloseApplication" just call Taskkill via command line to kill a process?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Wondering how "CloseApplication" works under the hood - WPF.
Hello Brent,
Ranorex sends a WM_Close to the top-level window of the chosen element. If there is a grace period defined Ranorex waits for the window to be closed, if it is still open Ranorex kills the process.
Regards,
Robert
Ranorex sends a WM_Close to the top-level window of the chosen element. If there is a grace period defined Ranorex waits for the window to be closed, if it is still open Ranorex kills the process.
Regards,
Robert