Forum Discussion
tristaanogre
16 years agoEsteemed Contributor
It has to do with the "exists" check. I believe that the NameMapping/Aliases does some of the checking to see if the object exists (such as I put in with the WaitVCLObject call) and, if it doesn't returns, it a "stub" object with "Exists" set to false.
So, I think it still comes down to checking to see if the object exists first. If it exists, then set your variable to point to that object and call ClickButton.
So, I think it still comes down to checking to see if the object exists first. If it exists, then set your variable to point to that object and call ClickButton.