Thursday, March 20, 2008

FAQ - Automation - QTP ( 71 to 80 )

71. List all the run time errors in VB script.


A.
VBScript run-time errors are errors that result when your VBScript script attempts to perform an action that the system cannot execute. VBScript run-time errors occur while your script is being executed; when variable expressions are being evaluated, and memory is being dynamic allocated.
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

72. How many types of Parameters are available in QTP?

QTP provides three types of Parameter-


* Method Argument
* Data Driven
* Dynamic

73. What’s the QTP testing process?

QTP testing process consists of seven steps-


* Preparing to record
* Recording
* Enhancing your script
* Debugging
* Run
* Analyze
* Report Defects (more…)

74. What’s the Standard Checkpoint?

Standard Checkpoints checks the property value of an object in your application or web page.

75. Which environments are supported by Standard Checkpoint?

Standard Checkpoint is supported for all add-in environments.

76. What’s the Image Checkpoint?

Image Checkpoint checks the value of an image in your application or web page.

77. Which environments are supported by Image Checkpoint?

Image Checkpoint is supported only Web environment.

78. What’s the Bitmap Checkpoint?

Bitmap Checkpoint checks the bitmap images in your web page or application.

79. Which environments are supported by Bitmap Checkpoints?

Bitmap checkpoints are supported all add-in environment.

80. What are the Table Checkpoints?

Table Checkpoint checks the information with in a table.

No comments: