Not win_close(),I want a function can closs application without window.
I come from china,welcome come to contact My msn:email@example.com
This is a little function I knocked up to close applications via a call to "predator.exe" which closes the application via the processes name in windows task manager.
public function Ill_be_back (in process)
system(getenv("M_ROOT") & "\\arch\\predator.exe " & "java.exe");
Predator can be found on the mercury interactives support site alternatively can be found on my website under the downloads section.
Jonathon Lee Wright
Automation Development Services
AMIEE, BSc (Hons), MCSE (NT), MBCS, MIAP http://www.automation.org.uk
Automating chaos just gives faster chaos
You mean like terminate the process?
Why would you do that...?
It can cause system instability, then your test will face an unknown status and could fail.
Try to avoid this if you can.
If it's working... don't touch it!