How to check the pop-up window X button check in GUI
- 6 years ago
Hi SivaKatheek,
> Aliases.OmegaClient2.VCLObject("UserChangePassword").Exists
When you use the fully qualified object name in your test code, TestComplete assumes that you need this object for subsequent actions and thus reports an error if the object cannot be found.
If the object may not exists, then you need to try to find it and proceed according to the search result.
.WaitXXX() method must be used to tell TestComplete to try to search for the object and not report an error if the object is not found.
Thus,
Aliases.OmegaClient2.VCLObject("UserChangePassword").Exists
must be changed to
Aliases.OmegaClient2.WaitVCLObject("UserChangePassword", 500).Exists
- 6 years ago
Dear AlexKaras,
Thank you very much for the info. Now, it works fine
Thanks again
Regards
SivaKartheek Sreeram