| || |
How to catch errors in automation model?
In the help about QTP Automation Object Model is a chapter called "Enumerations"->"qtErrCodes Enumeration". How do I catch those errors? Where do I check the number? In which object does it resist? How do I know that the error happened?
Re: How to catch errors in automation model?
1) On Error Resume Next, followed by If Err.Number <> 0...
2) After doing something through the QTP Automation object...standard error catching
3) In the QTP Object Model DLL
4) See #1