
Loading ...
ecently while debugging a QTP Script i was getting a “General Run Error” while calling a function. After many runs of the test, i finally found the root cause for the issue. The issue can be reproduced in the way shown below
Create a library file with the code shown below and associate it with the [...]
Register or Login to read the full article...
Tags used -
Debug, DescribeResult, Error, execute, General, General run error, Library, Unspecified error, wrong number of arguments or invalid property assignment

Loading ...
So you got a General run error while running your code and are not sure on what to do?
What does General run error mean?
General run error occurs when an underlying source being accessed by QTP throws an error. QTP instead showing the error text shows a “General run error”.
A typical example would be [...]
Register or Login to read the full article...
Tags used -
Debug, DescribeResult, Description, err, Error, General, General run error, Number, Run error

Loading ...
November 11th, 2006
6:09 am
General
Library file is nothing but a VB script file containing code in VB Script format. Library files in QTP are used to declare functions that are needed to be used across actions. There are two ways to load a Library file in to your test:
Specify the Library file in the settings of the script
Create the [...]
Register or Login to read the full article...
Tags used -
Debug, Debugging, Dynamic, dynamically, execute, executefile, Library, load, resources, run-time, Runtime, unload