KP13
6 years agoOccasional Contributor
TestComplete event handling
I have created a General Event such as GeneralEvents_OnLogError (Sender, LogParams) ( it's an OnLogError event - Occurs when an error message is posted to the test log) which is being called by both my desktop and web applications, whenever errors occur. I'm capturing the log message in a file by extracting the message using 'LogParams.MessageText'. Whenever it shows the error as 'The object does not exist. See Additional Information for details', its difficult to get the failure whether happened in Desktop application or Web Application. So, could you please suggest me how I can create a customized function to determine the error happened in Desktop or Web Application.