list out the some of the exceptions list usually occur
while recording and playing the script.

Answer Posted / nath .t

RUN-TIME ERROS:

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



SYNTAX ERRORS:

VBScript syntax errors are errors that result when the
structure of one of your VBScript statements violates one
or more of the grammatical rules of the VBScript scripting
language. VBScript syntax errors occur during the program
compilation stage, before the program has begun to be
executed.

Error Number Description
1052 Cannot have multiple default property/method in a
Class
1044 Cannot use parentheses when calling a Sub
1053 Class initialize or terminate do not have arguments
1058 'Default' specification can only be on Property Get
1057 'Default' specification must also specify 'Public'
1005 Expected '('
1006 Expected ')'
1011 Expected '='
1021 Expected 'Case'
1047 Expected 'Class'
1025 Expected end of statement
1014 Expected 'End'
1023 Expected expression
1015 Expected 'Function'
1010 Expected identifier
1012 Expected 'If'
1046 Expected 'In'
1026 Expected integer constant
1049 Expected Let or Set or Get in property declaration
1045 Expected literal constant
1019 Expected 'Loop'
1020 Expected 'Next'
1050 Expected 'Property'
1022 Expected 'Select'
1024 Expected statement
1016 Expected 'Sub'
1017 Expected 'Then'
1013 Expected 'To'
1018 Expected 'Wend'
1027 Expected 'While' or 'Until'
1028 Expected 'While,' 'Until,' or end of statement
1029 Expected 'With'
1030 Identifier too long
1014 Invalid character
1039 Invalid 'exit' statement
1040 Invalid 'for' loop control variable
1013 Invalid number
1037 Invalid use of 'Me' keyword
1038 'loop' without 'do'
1048 Must be defined inside a Class
1042 Must be first statement on the line
1041 Name redefined
1051 Number of arguments must be consistent across
properties specification
1001 Out of Memory
1054 Property Set or Let must have at least one argument
1002 Syntax error
1055 Unexpected 'Next'
1015 Unterminated string constant

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What information is contained in the checklist file and in which file expected results are stored?

690


Explain the winrunner testing process?

632


What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?

857


How to get the resolution settings?

599


Welcome link is dynamic. How do you handle? What is your approach and write script.plz send answer

1634






Where did you learn winrunner and testdirector?

697


How can withwin runner to make single scripts which supports multiple languages?

618


Which function to use to compare the application date with system date?

1473


How do you call windows APIs, explain with an example?

1550


Which are default codes winrunner generates when we start the application?

1598


What happens when the gui map file get loaded?

672


How do you find an object in an gui map.

785


What all are the different databases winrunner can support?

1482


How enviornment veriable can be included into my script. I want to include some information into my Excel file using Test run in WR. like User name of system? waht is function to be used? Please clarify.....

1760


How to check property of specific icon is highlighted or not?

580