Forum Discussion
AlexKaras
7 years agoCommunity Hero
Hi,
I would wait in a loop until the browser process ends or timeout (passed as a parameter) occurs.
If the browser process did not end within timeout, .the call to .Terminate() may be done.
https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/window-and-process/terminate-method-process-object.html contains some possible code sample.