tyrus
10 years agoContributor
IfObject problem
Hi, I have a question about "IfObject" method in keyword tests.
I'm trying to see if a an object exists at runtime specifically: Aliases.FirstWindowsApplication.dlg.Static
so I add "IfObject" per https://support.smartbear.com/viewarticle/69092/
but if the object is not visible TC throws and exception?? why is this happening? I would think i nthe event IfObject returns false, it will simple continue to "else"... Is this not how it works? if not what is the point if "IfObject...else?"
I inluded my .exe and the script
thanks