Forum Discussion
- aqAnt
Alumni
Hello Sean,
Unfortunately, TestComplete cannot catch the errors automatically. We have a corresponding suggestion in our DB, and your post has increased its rating.
- seanMRossContributorThanks for the reply Jay!
- praveensqaContributorHi,
Use exception handling.
'Exception handling
On Error Resume Next
Err.Clear
' here you handle the exception
ArraryVerify = Response.return.assetTrackVOs(0).assetId ' write your hadle code
if Err.Number <> 0 then
' An exception occurred
log.Error Err.Number
Log.Error Err.Description
end if