Forum Discussion
helper function ? is there any option in testcomplete to built our own functionlity to access the object? My oberservation from your answer is like, we can create our own FindChild() in test complete. am i right? Correct me, if i go wrong.
I'm not sure what you mean about testcomplete freezing the object state?
And yes, helper functions are similar to findchild.
Take web pages as an example. While the top level page may think it has finished loading, there can be things like AJAX events still happening and the page is not fully complete until these have finished. But the "page loading complete" property of the page does not accurately reflect this.
And how you check for these sub-page level events completing is different between Internet Explorer and Chrome (due to a bug in Chrome).
In order to get round this, I have my own "helper" funtion which I use to check web pages have completely finished loading.
These helper functions are scripted. Are you using script or keyword tests?
- vigneshSakthi10 years agoOccasional ContributorFreezing means, I use findchild to get an window object. That method doesn't respond until the desktop window loads fully.I hope you understand.
- vigneshSakthi10 years agoOccasional Contributor
Script type.