Micro Focus QTP (UFT) Forums
what is throw object? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: what is throw object? (/Thread-what-is-throw-object)



what is throw object? - priya999 - 02-14-2011

whatis throw object?

i have researched and found that it belongs to jscript

anyone know anything about throe obejct in vbscript if it exist

thank u
priya


RE: what is throw object? - tester_rahul - 02-14-2011

hi priya,

As far as i know, there is no thro object in VBScript.
In java throw object is used to throw an error.
In vbScript we use the
on error resume next ' to enable error handling
if err.number <> 0 ' indicating an error has come up
---
----
on error goto 0 ' to disable error handling.





RE: what is throw object? - priya999 - 02-25-2011

Thats what i thought

thank u so much for the reply