mfoster711
10 years agoRegular Contributor
TC11 Findchild extremely slow
I have the following code in my project:
Set UsernameTextbox = Sys.FindChild(Array("ObjectType","ObjectLabel","VisibleOnScreen"),Array("Textbox","Username","True"),10,True) Set PasswordBox = Sys.FindChild(Array("ObjectType","ObjectLabel"),Array("PasswordBox","Password"),10,True) Set SignOnButton = Sys.FindChild(Array("ObjectType","ObjectLabel"),Array("SubmitButton","Sign On"),10,True)
In TestComplete 11, each of these lines take 40 seconds to complete (i.e. it took 2 minutes to finish all 3 lines). In TestComplete 10 it takes less than a second for these 3 lines to complete.
Why is it take so long for the FindChild to complete in TestComplete 11??
These tests were run using IE 11 and Firefox 37. I had the same results in each browser.
I am using TC 11.10.1005.7