Forum Discussion
AlexKaras
Champion Level 3
Hi,
PhilippeS wrote:if(Aliases.yourAliasesName.WaitAliasChild("yourElement").Exists){
doSomething();
}
[Just as a side note]
Yes, this might work, but the same condition as mentioned in my previous answer applies: Aliases.yourAliasesName object (and all objects within physical objects' hierarchy that precede "yourElement" aliased object) must exist. Otherwise TestComplete will start to search for them before been able to execute the .WaitAliasChild() call.
rraghvani
7 months agoChampion Level 3
Just to add, see https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects to understand Objects.
Related Content
Recent Discussions
- 6 days ago
- 6 days ago
- 10 days ago