Forum Discussion
sreedevtr
Contributor
.Is it a good idea to check whether the tested app is still running before calling the Runner.stop call?
If(myprocess.Exists)
{
Runner.Stop(true)
}
fujunxu
9 years agoContributor
I need to call Runner.stop even the tested app is not running. I can check if the process is Exists and then rasie my own error message to make sure it didn't raise the "The process ... was not found" error. But I want to know why Sys.Process caused the Runner.Stop behaved differently. Maybe I miss something ...
Thanks.
Related Content
Recent Discussions
- 2 days ago
- 2 days ago
- 6 days ago