Micro Focus QTP (UFT) Forums

Full Version: What is the difference between 'On Error GoTo 0' and 'Err.Clear'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What is the difference between 'On Error GoTo 0' and 'Err.Clear'
"On Error GoTo 0" disables error handling if you have previously enabled it using On Error Resume Next.

err.clear--- this clears property settings of the er object.

you can get more details in QTP help section