Forum Discussion
rraghvani
Champion Level 3
2 years agoYes, 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-ngc
2 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?