mattc_1
15 years agoOccasional Contributor
ItcIntegration Return Log / Error
I am using a separate application to make calls to Test Complete using the TesetComplete Comm dll. My application calls individual functions such as setting a controls value one at a time using the same function being called my my app.
Originally I was using On Error Resume Next but, the log in Test Complete will log it but I am wanting my external app to display the error or even show that I have an error. As far as I now the only way to even know that I have an error is using GetLastResultDescription which returns what and where it happened but not why.
I removed the On Error Resume Next and it allows the application to catch the Errors in some cases but in others Test Complete seems to log the error in it's log and eat the Raise Error portion that goes up to my app.
Is there anyway to either have the error message raised to my app or is there a way to view a specific log from my external app?
Viewing a specific log is probably the best way to go in my opinion.
Originally I was using On Error Resume Next but, the log in Test Complete will log it but I am wanting my external app to display the error or even show that I have an error. As far as I now the only way to even know that I have an error is using GetLastResultDescription which returns what and where it happened but not why.
I removed the On Error Resume Next and it allows the application to catch the Errors in some cases but in others Test Complete seems to log the error in it's log and eat the Raise Error portion that goes up to my app.
Is there anyway to either have the error message raised to my app or is there a way to view a specific log from my external app?
Viewing a specific log is probably the best way to go in my opinion.