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
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
How to explain a banking project in interview as a test engineer???
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
Is it possible to change the property value at runtime? How it is possible?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
how u will evaluate the tool for test automation?
What is the quicktest professional (qtp) testing process?
What is the difference in the global and action sheet in qtp?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
Explain how Selenium is different from UFT?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?