
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 working with BPT Automation I was trying to implement flexible functions in my library which can be used in both the normal as well as BPT code. Consider the below Login function
Function App_Login(UserName, Password)
Browser("X").Page("X").WebEdit("UserName").Set UserName
Browser("X").Page("X").WebEdit("Password").Set Password
Browser("X").Page("X").WebButton("Login").Click
End Function
Now since BPT supports component parameters I can do away with passing any of the parameters to [...]
Register or Login to read the full article...
Tags used -
Application Area, blank value, BPT, Component, Does not work, function, Library, not loaded, parameters, Scripted Component, value is blank

Loading ...
est data can be more dynamic in nature as compared to the Application under test. Hard coding your test data inside the script can make maintenance of script time consuming when changing test is required. Hard coding can be removed by importing the data from external sheets. But hard coding the name of the test [...]
Register or Login to read the full article...
Tags used -
DataTable, Dynamic, External, flexible, flexible data, Folder, folder structure, Framework, Input, Library, load, script, scripts, Test Data, test data input, TestName

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 ...
The article provides answers to most frequently asked question on Quick test pro 8.2. It also provides some tips and tricks. A must read for people working on QTP.
Data Table
Two Types of data tables
Global data sheet: Accessible to all the actions
Local data sheet: Accessible to the associated action only
Usage:
DataTable("Column Name",dtGlobalSheet) for Global data sheet
DataTable("Column Name",dtLocalSheet) [...]
Register or Login to read the full article...
Tags used -
ADODB, Checkpoint, Connect, connection, Database, DataTable, dtGlobalSheet, dtLocalSheet, Environment, err, Error, GetROProperty, GetTOProperty, Global, Library, Local, Object, output, outputvalue, Recovery, Runtime, Test, Value

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