Forum Discussion

manish_bansal_1's avatar
manish_bansal_1
Occasional Contributor
10 years ago
Solved

Modify Auto-Wait Timeout through Code

Hi Folks, 

Due to a design problem of TestComplete Exists method does not provide additional overload of maxtimeout millisecond parameter and it does wait until time specified in Project Properties > Auto-Wait Timeout, which makes the situation worse. I want to know if it is somehow possible to adjust this implicit timeout property though code.

 

I am really pissed off with SmartBear's attitude of rejecting a great suggestion which help everyone "just to add just another overload in the existing Exists function, which will start accepting the timeout" and overloads does not impact existing signature.

 

 

Please do not suggest me to use WaitNNN, its a most stupid API design I have ever seen.

 

Thanks,

Manish Bansal 

 

  • You can change the auto-wait timeout like this:

     

    Options.Run.Timeout = 30000; // 30 seconds