ContributionsMost RecentMost LikesSolutionsRe: Modify Auto-Wait Timeout through Code folks, Thanks for awesome replies, this is what I was looking, :smileyhappy: Options.Run.Timeout = 30000; Similarly we control implicit timeout in selenium. I have now come up with 2 functions based on the above solution. WaitForExists(expectedObject, MaxTimeOutInSec) 'usual wait WaitTillExists(currentObject, MaxTimeOutInSec) 'this would be used when we are expecting some popup window should hide after doing some action, but it is taking long time 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 SolvedRe: Waiting for window till a given time Well, If I must need to use it along with "Exists", then why would i use WaitNNN at the very first place, why not i will use it wait (which will anyways wait till maxium time given in the settings) not sure why TC made things complicated than making simplified. Re: Waiting for window till a given time WaitProperty can be applied only on existing objects, otherwise testcomplete will throw exception. therefore waitproperty is useless. Waiting for window till a given time As we all know TC does not support a very important feature of timeout with exists function, Smartbear telling us to use some WaitNNN method, :catfrustrated: but again without exists i am not sure how to really use it ? My situation is : after clicking on submit button, I have to wait maximum of 5 sec for error message, if no error message comes, in 5 sec it means, records are saved successfully. Now i am doing waitNNN (waitwindow) for 5 sec, after 5 sec, i will get an window proxy object, i have check if this window object is exists or not for writing results. Please note : this .exists takes 30 sec (which is provided in the project properties), then what is the use of WaitNNN... am super confused, begging TC to add timeout to .exits function. or comeup with .ExistsEx(timeout). I dont understand why they (SB) are pushing this stupid WaitNNN and not listing users to imporve TC by providing a simple solution to complexity, this is very annoying. SolvedRe: New TestComplete 10.6 Instead of keep on adding features, why not concentrate on Improving Qualtiy and bug fixing. TestComplete stopped hitting General Events Hi Experts, I am facing issues with Test complete hitting general events on Test Startup and Stops, when I restart TestComplete it works and eventully stops working again and again. wondering, Is someone faced this issue and what would be the solutions? This looks to be a serious issue, checking here before raising tickets to SmartBear. Thanks, Manish Bansal Re: Supress Object Not Found Error Optionally Thanks for the writeup Manfred, This is GrandFather Paradox situation , you can not call visible if object does not exists. (and the stupid tc will gift you another exception in logs :-P ) I hope it makes sense? Some Quick Improvements and Suggestion for TestComplete Developers. Sharing some of my thoughts to make this tool much more efficient, I can give thousands of improvements suggestions but only if SmartBear is really serious about this tool. Allow Object.exists to take optional parameter to wait in milliseconds. Let On Error Resume Next/ Try..Catch to handle Object not found exception as well. (your programmer can create custom user exceptions for the same) Error Events should produce more information as below. Object Name (usually from Namemapping if available) e.g. txtUserName Object clsClassName e.g. WinTextBox Operation which is performed e.g. Set_Text Values /parameter which is passed .e.g “Testuser123” Error : ObjectNotFoundException OR ObjectIsDisabledError OR ObjectCharSizeExcetion (you can also have them as separate events altogether) Code : Line number/ filename for debugging purpose. Screenshot location – will be helpful if we want to email screenshot as attachment Note : also do not write this error directly in the logs but let user call log.error from inside Event. Please also have OptionalStep implementation (this will help user to avoid using try with empty catch block) Optional Step is user knows if this situation appears then only do this operation. g. OptionalStep(2000).WarningWindow.OkButton.Click() In this above example it will wait for 2 sec to appear WarningWindow button if does not comes it move ahead. Unwanted dialogs. Sometime at any steps unwanted dialogs comes in the applications, there should be a provision to capture them based on the their description Take screen shot of them and make a warning in the logs. Check them in case of overlapping, objects are disabled or objects are not visible. Supress Object Not Found Error Optionally I have an Application where a "Processing please wait..." dialog appears after a required operation and goes automatically after sometime as soon as processing is done, now i need to wait till this dialog is available on screen (sometime it remains open for more then 10 secs but other time 2 to 3 secs), so i do wait till the dialog is exists. Do while (dialog.exist ) Loop I want to Achieve this. 1) if it exists, i keep on waiting, but as soon as dialog goes, move to the next step of varification. 2) if it exists more then 15 sec, seems there are some problem at message processing, do a dialog.close forcefully. and move to the next test case. these above steps sound simple but not as easy to achive from TestComplete. I am facing issues like. 1. as soon as dialog disappear say within 15 sec (I have a loop which is checking if dialog.exists breaks but test cases gets haulted for 30 secs - which is setup in the Project properties - 30 secs are crusial for testing in our case.) 2. sometime dialog remains open for more then 15 sec's but as soon as we try to close (dialog.close() ) them its already gone. this thows exception - Object Not Found Can someone please help me in this case.