Forum Discussion
Does you application support the close window message or similar? With Windows application, you can send a signal to instruct the application to terminate. With TC, you do this via Sys.Process("notepad").Close(), providing your application supports it. Otherwise, you will have to do File -> Close via the menu.
- zoey2 years agoOccasional Contributor
I am not sure if understand you correctly , I think not support when close my application using (file->exit ) the close popup appeared to save or not save the opened file , and when click on "No " button in this close popup , I called this Sys.WaitProcess("Spotfire.Dxp",0).Close() to close "Spotfire.Dxp" from task manager , but sometimes test complete can't close it , how can test complete close process correctly without happened any unexpected error ? do you mean I should be use Sys.Process("Spotfire.Dxp").Close() instead of Sys.WaitProcess("Spotfire.Dxp",0).Close()?
close popup :
Related Content
Recent Discussions
- 4 hours ago