According to the Testcomplete documentation “… the Exists property must always be used in combination with a WaitNNN method.” (Look up “existence” in the Help system and go to the bottom of the page.) What this means is that instead of coding something like this
if (Aliases.PPSSuite.FormLogin.Exists) {
// some code
}
you should always code something like this
if (Aliases.PPSSuite.WaitAliasChild(“FormLogin”).Exists) {
// some code
}
The incorrect coding causes problems for Testcomplete. I see this problem show itself in the form of slow command execution. Operations that are incorrectly coded take a few seconds to execute. When correctly coded they happen instantly.