how can i impliment error handling in QTP?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / supraja
By using Recovery scenario manager we can handle Errors
and using script also we can hadle errors and popups and
using ON ERROR RESUME NEXT we can just skip the errors we
can Recover the erros.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / uma
By using Exception Handling We can handle the errors. The EH
will have three types 1. Popup Handle 2. TSL Handle
3. Object Handle.
| Is This Answer Correct ? | 2 Yes | 1 No |
what is the test object?
Write a script to verify font style and color of a windows object using descriptive programming
How to call a test from another test?
how do we add a new sheet to data table in QTP?
What is AUT in object reposity in QTP? Why we use it in Object repository???What is full form???????
With help of object repository,we can able to write the descriptive program manually?
how we connect oracle or sql data server database to qtp
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
Hi Currently am using Qtp 10.0 Lisenced product.. but when am adding objects to object repository from google page it was identifying as windows objects.. please help me!!!
I have an application running in Linux server. I am reaching the application through emulators like telnet. My operating system at the client side is Windows XP. Using emulator I am connecting the Linux server and working on the application. Can I automate the testing of the software running in Linux server using QTP. In short, does QTP support the applications running in Linux servers.
In My application, having Copmany Name : Text Box and click Save button. if i enter a vlue, after run..........it shows the already exists. so how to enter random ro mmultiple names names into webedit box(company Name). without using DATATABLE THanks Ramesh
w is descriptive programming