
Loading ...
On Dec 28th I had shared the Sneak Peak of our upcoming tool PowerDebug. The tool is now under the final testing phases and has more to offer than promised earlier.
What is PowerDebug?
PowerDebug is replacement debugger for QTP. It enhances its debugging capabilities and provides other features to let you create powerful frameworks
Why PowerDebug?
Two of [...]
Read the full article...
Tags used -
command, Debug, Debugging, Error, error handlers, error handling, General run error, goto, jump, Library, load, On Error, OnError, Run error, run-time, Runtime, Stack, stack trace, variable, Watch

Loading ...
Recently 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 ...
Another general error, well with poor error propagation of QTP it gets hard to debug these general run error. There could be several root causes for this error
Trying to save to QC when the QTP-QC connection has already timed out
Trying to save to QC when QC server has no more space left. Space crunch on [...]
Register or Login to read the full article...
Tags used -
Error, General run error, Library, Run error, save, saving, Test

Loading ...
General run error are hard to debug and any extra information available to fix the issue is always helpful. Sometimes QTP starts throwing General run error in click events of WebButton. Digging into the source of the issue using the technique mentioned in Debugging General run error we would see a “Element not found” error [...]
Register or Login to read the full article...
Tags used -
button, click, clicking, Error, General, General run error, highlight, run, WebButton

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