Forum Discussion
TC version is 15.65.12.6 x64
Looking at your screenshots, I guess what you are showing is the "Time Diff" column? Showing that there is no wait?
function debugme(){
Log.Message("Start");
var cf = Aliases.javaw.WaitAliasChild("Child_Frame");
Log.Message("Checking exists");
let w = cf.Exists
Log.Message("Finish");
}As you can see, when it's not visible, it waits 10 seconds
Yes, I'm looking at the time difference.
How have you defined your name mapping for "Child_Frame" ? For example (ignore the comments),
The 10 seconds delay seems to be coming from project settings i.e. auto wait time. TC is not able to find the object, which could suggest that the name mapping property value(s) might not match, when window is invisible.
- cg-ngc2 years agoOccasional Contributor
Yes, it's defined.
Furthermore, if I modify the code like so:
function debugme(){ Log.Message("Start"); var cf = Aliases.javaw.WaitAliasChild("Child_Frame"); Log.Message("Checking exists"); let w = cf.Exists Log.Message("Exists: " + w); Log.Message("Finish"); }It shows that it exists:
- rraghvani2 years ago
Champion Level 3
Are you able to zip your TestComplete Exists Wait Demo project and attach it to this post please? I'll try it on my end.
- cg-ngc2 years agoOccasional Contributor
Here you go
- cg-ngc2 years agoOccasional Contributor
hmm, I attached it in the post, but I don't see any evidence of it here, do you see it?