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