sowmya_bs
15 years agoContributor
How to avoid the log message "Unable to find the object 'xxx' "
Hi
I am trying to find an object existance on the page using this below code.
I am trying to find an object existance on the page using this below code.
If DialogBoxObject.btnOK.Exists = True Then
.... ..
End If
But Testcomplete logs an error message "Unable to Find the object btnOK"
This is a log message logged by TestComplete and it points to the statement -DialogBoxObject.btnOK.Exists
I am not sure if it is related to TestComplete settings as i have noticed the same piece of code being used in other script does not log this message as error.
Anyone let me know how to avoid this to be logged as an error message.?
-Thanks
Sowmya BS