Forum Discussion
AlexKaras
6 years agoChampion Level 3
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.
- Lagencie6 years agoFrequent Contributor
I am using the Terminate Script on Errors to prevent next tests from not starting, but I use the close browser teststep in around 300 testcases, so I am not within a script and the auto wait time for this operation is 3 seconds, which I want to increase to 10 and in case it doesnt close within this time I am ok with the test failing and Terminating the processes in the OnLogError Event
Related Content
- 10 years agojmcwhinney
Recent Discussions
- 3 hours agoSvetaG