no. I just tried the following.
procedure TestThis;
var MyObject;
begin
try
MyObject := Aliases.Orders.OrderFrm.VCLObject('OButton');
MyObject.ClickButton;
except
Log.Message('Yada');
end;
end;
The "OButton" object does not exist so I get an error indicating that it could not find the object. These kinds of errors don't raise an exception so they don't trigger the try/accept logic.
Now, if you're unsure as to whether or not an object will exist during running scripts and you want to test for it, I would suggest using methods like WaitVCLObject or WaitAliasChild. Like so
procedure TestThis;
var MyObject;
begin
try
MyObject := Aliases.Orders.OrderFrm.WaitVCLObject('OButton');
if not MyObject.Exists then
raise('Could not find object')
else MyObject.ClickButton;
except
Log.Message('Yada');
end;
end;