Sometime TestComplete cannot find tested objects, which are recognized already
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2010
01:01 AM
02-01-2010
01:01 AM
Sometime TestComplete cannot find tested objects, which are recognized already
Hi,
It seems the function of recognizing tested objects in TestComplete (7.50) is not stable…
For example, I have a script like this,
var webForm = Aliases["Sys_CSIS"]["IEXPLORE"]["pageCareComplaintForm"];
webForm["btnIsICYes"]["Click"]();
Most time, my script just works fine. But sometime just for no reason TestComplete cannot find the object. The error of “The Object doesn’t not exist.” Is logged.
After the failure, run the script again, it will be successful. The issue is hard to re-produce, but it happens time to time. It is very annoying.
Thanks a lot!
Nancy
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2010
04:23 AM
02-01-2010
04:23 AM
Hi Nancy,
Try obtaining the problematic object by using the WaitAliasChild method (see the "WaitAliasChild Method" help topic).
Try obtaining the problematic object by using the WaitAliasChild method (see the "WaitAliasChild Method" help topic).
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2010
12:59 AM
02-02-2010
12:59 AM
Hi, Jared,
Yes, you are right. I use myWebForm["WaitAliasChild"]("myWebObject", 1000)["Exists"] to check if the web object exists, then click the button. So far it works fine.
Thank you very much for your help!
Nancy
Yes, you are right. I use myWebForm["WaitAliasChild"]("myWebObject", 1000)["Exists"] to check if the web object exists, then click the button. So far it works fine.
Thank you very much for your help!
Nancy
