Log.LockEvents(0)
I have set the Log.LockEvents(0);
I have a code that checks if a form is visible on a while loop:
while PX3000Client.TMessageForm3.visible do
PX3000Client.TMessageForm3.OK.ClickButton;
when the form is not visible anymore, I get an error message on the test log.
==================================================
An error occurred when executing the "visible" method or property of the "TMessageForm3" object.
The object or one of its parent objects was not found in the system.
Tested Object
------------------
Alias: Aliases.PX3000Client.TMessageForm3
Mapping item: NameMapping.Sys.PX3000Client.TMessageForm3
Missing Object
------------------
Alias: Aliases.PX3000Client.TMessageForm3
Mapping item: NameMapping.Sys.PX3000Client.TMessageForm3
Is there a method of preventing this error from being posted on the log?
Thanks in advance.
Albert