Forum Discussion
AlexKaras
8 years agoCommunity Hero
Hi,
> var checkBox = Aliases.MyApplicationName.Settings.WaitQtObject("abc", 2000);
When you get such error in JScript (maybe, in JavaScript as well), this usually means that the parent object was not found. And the text of the error is caused by the JScript language specifics (not related to TestComplete).
I would suggest to change the quoted line of code to
var checkBox = Aliases.MyApplicationName.WaitAliasChild('Settings', 30000).WaitQtObject("abc", 2000);
and check if it helps.