
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 ...
Research team at KnowledgeInbox has been working on a revolutionary product code named “PowerDebug”. This product has been under research for over 2 years now and is now on the verge of a Beta Release in Jan 2010. The product is aimed at adding better debugging and error handling capabilities to QTP. This is the [...]
Read the full article...
Tags used -
Debug, Error, Eval, execute, executefile, ExecuteGlobal, Handling, HP QuickTest Pro, libraries, loaded, On Erro Goto, On Error, OnError, Power, run-time, Runtime

Loading ...
Programming languages like VB provide a debug.Assert method which breaks the test and put them into debugging mode based on the condition specified. But QTP does not provide any such method to break or pause the test case.
Though I did find a undocumented feature which is mostly a VBScript feature and not QTP that can [...]
Register or Login to read the full article...
Tags used -
break, code, Debug, Debugger, Debugging, pause, script, Stop

Loading ...
I have been using QTP from over 4 years now, but only recently i discovered that we can change variables in the Watch Pane of the Debug window. We can also use the Command pane to change the variable value but i found Watch pane to be a more convenient one.
We will see with an [...]
Register or Login to read the full article...
Tags used -
breakpoint, Change, Debug, Debugging, Pane, Value, variable, variables, Watch

Loading ...
Debugging is one of the most important part of QTP Scripting. Lack of knowledge in debugging a script can increase the time wasted for fixing issues with scripts.
We can watch the Call Stack Trace while debugging scripts in QTP. This article will demonstrate how to watch the call stack. Consider the code shown below
Function Top()
[...]
Register or Login to read the full article...
Tags used -
breakpoint, Debug, Debugging, scripts, Stack, stack trace, Trace

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 ...
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