
Loading ...
QTP test results are stored in form of XML which can be read the Test Result viewer that comes with QTP or the QTP-QC Add-in. Viewing every report individually through the Test results viewer does not help much when you bulk # of tests to be executed. Information like the Name of the Test, Status, [...]
Register or Login to read the full article...
Tags used -
Extract, Failed, Passed, read, Results, status, Summary, Test, TestResults, Warnings, XML

Loading ...
Capturing screenshots to QC in test result can quickly eat up all the space on the QC Server. This makes it sensible to capture images only in case a Test has failed. This can allow easy debugging of Test Cases to see what error had occurred when the test failed. Adding this functionality to your [...]
Register or Login to read the full article...
Tags used -
Add, Attach, BPT, Business Components, Business Process Testing, capture, Component, CurrentRun, desktop, Error, failure, file, images, QC, Results, run, screencapture, Screenshot, Terminate, Test, test lab, test result

Loading ...
To access status of the test QTP provides the RunStatus property. The value of this property is the worst case status of the current test. This property can be used to take special measure based on the status of the test.
Select Case Reporter.RunStatus
Case micFail
[...]
Register or Login to read the full article...
Tags used -
Accessing, end, ends, execute, Execution, Reporter, Result, Results, run, RunStatus, status, Test

Loading ...
Many QTP user confuse between Test and Action Parameters. This article will explains both the concepts in details and eliminate any confusion. QTP Help does not describe the method of using Test Parameters
Test Parameters
Test Parameters can be used to pass values to the test and retrieve values when the test completes. They are global parameters [...]
Register or Login to read the full article...
Tags used -
Action, Action parameters, AOM, global parameters, Input, output, output parameters, parameter, RunAction, Test, test parameters, TestArgs

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 ...
QTP checkpoints are very limiting when it comes to maintenance and transport of the same across scripts. It is always best to avoid QTP checkpoints whenever possible and create your own checkpoint routines that does the work. This article will give a brief introduction on how create custom checkpoints or how to simulate checkpoint validations [...]
Register or Login to read the full article...
Tags used -
Checkpoint, Custom, Reporter, Reportevent, Results, 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