Set Auto-Wait Timeout for Browser Close function
is there a way to increase the auto-wait timeout for the browser close function?
I know I can set it manually by double clicking the parameter field of the browser close teststep, but it is automatically set to 3 seconds which is not enough in a few cases and I want to increase this to 10 seconds.
It is a different auto wait time, than the one you can set in the project properties (auto-wait timeout, ms which is standard at 40 seconds).
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/te... contains some possible code sample.
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
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