how can i impliment error handling in QTP?

Answer Posted / deepak k

Use "OnError Property" to hundling using following Error
numbers

Error Number Description
429 ActiveX component can't create object
507 An exception occurred
449 Argument not optional
17 Can't perform requested operation
430 Class doesn't support Automation
506 Class not defined
11 Division by zero
48 Error in loading DLL
5020 Expected ')' in regular expression
5019 Expected ']' in regular expression
432 File name or class name not found during Automation
operation
92 For loop not initialized
5008 Illegal assignment
51 Internal error
505 Invalid or unqualified reference
481 Invalid picture
5 Invalid procedure call or argument
5021 Invalid range in character set
94 Invalid use of Null
448 Named argument not found
447 Object doesn't support current locale setting
445 Object doesn't support this action
438 Object doesn't support this property or method
451 Object not a collection
504 Object not safe for creating
503 Object not safe for initializing
502 Object not safe for scripting
424 Object required
91 Object variable not set
7 Out of Memory
28 Out of stack space
14 Out of string space
6 Overflow
35 Sub or function not defined
9 Subscript out of range
5017 Syntax error in regular expression
462 The remote server machine does not exist or is
unavailable
10 This array is fixed or temporarily locked
13 Type mismatch
5018 Unexpected quantifier
500 Variable is undefined
458 Variable uses an Automation type not supported in
VBScript
450 Wrong number of arguments or invalid property
assignment

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What ate the Technologies supported by QTP?

648


Explain how to use QTP to check broken links on a page?

589


wt is the use of multiple questions in QTP

1680


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1406


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1435






Explain the concept of how quicktest professional identifies object?

542


What are main panes available in qtp test browser?

543


whow much strong on VB and C?

1488


How to remove associated function library?

566


i can done the project with QTP in that time i can say how many members in my team size?

1374


what are the limitations of smart identification in qtp 9.0

1932


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

6662


what is the difference btn risks & Therads in the Test plan documentation?

1592


can u please explain what is the exact difference between qtp8.2 and 9.0

1681


Is it possible to split an action? How?

662