This may seem to be redundant, but I am wondering if anyone has ever seen child objects drop out of TP recognition.
I have seen entire child windows drop out while running a script. I have also noticed that some of my difficulties in finding the root of this problem exist because when I do not specifically set focus on a particular window during a recording and I type into that window, the TP recording tool never even records that window! It only records the parent window and the actual index belonging to that window!
It is strange and inconsistent behavior and I am looking for any instances of this type of behavior or even similar behavior that might help me work towards a solution.
At this point, Compuware wants me to send them our entire application.. which is highly unlikely.
I should mention... once this occurs, if the identify tool is used, as if to make a comparison to look for possible 'dynamics' to the object, the object IS NOT VISIBLE at all to TP. It is not recognized. Only the parent window is visible.
Have you ever attempted to use the identify tool when your script 'breaks'?
Does it see any objects if you do?
What is your fix? Does the problem clear itself or do you restart the application or Windows?
Originally, I was able to fix the problem by remapping the object, and now that still works, but typically only the first playback. Then the object will drop out again.
i have used the identifier tool and it finds all my objects correctly. The only workaround I have is to re-execute the script, which usually succeeds (because as i mentioned this happens rarely)
I have a ticket open with TP, and their initial suggestion is that our application isn't preparing its GuiObjects quickly enough after starting. That is the area I plan to test next.
It sounds like we are having different problems... if you need to 'remap' your objects, that means their unique identifiers are changing. In our application, all of the objects always have the same (e.g., "TypeName=Button Caption=OK") they are simply not visible to TP.
I know it sounds like a dynamic object issue, but the identifier won't see the objects at all. It has nothing to do with the 'criteria' of the object.
The applications both have to be restarted before a re-map or re-record will function.
Your issue doesn't sound like the same issue, and I have heard of the timing issue you are speaking of with other members on my team, but I appreciate your feedback. I am hoping to find someone who DOES have the same issue or one similar.
The only way this will occur is with feedback like what you have given me!