
Loading ...
This is my first ever article on BPT and to be frank I am not a very great fan of BPT framework. But that is what i am currently working on. It actually feels like someone handing a 2mm pistol to a Elite force commando and asking them to fight with the same. But as [...]
Register or Login to read the full article...
Tags used -
Actual, BPT, Business Components, Business Process Testing, compare, Evaluate, Expected, parameter, Value

Loading ...
HTML and JavaScript is a powerful combo for generating advanced controls for web. WYSIWYG editors are certainly one of them. But WYSIWYG editor are not implemented as general INPUT tag controls on a web page. Demo page for TinyMCE a WYSIWYG editor can be found here.
Trying to record on such editor will usually not record [...]
Register or Login to read the full article...
Tags used -
DeviceReplay, Editor, editors, Enter, Frame, Set, text, Textbox, Value, WebEdit, WebElement, WYSIWYG

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 ...
Checkpoints and validations can be done by capturing actual values from an object in the Application and then comparing that value with some predefined value. QTP provides various methods for capturing values from an Application object. We will discuss all of these methods in detail.
Checkpoints
Checkpoints can be used for validating an Actual value against Expected [...]
Register or Login to read the full article...
Tags used -
capture, Checkpoint, Checkpoints, compare, DataTable, Environment, GetROProperty, output, Output value, outputvalue, validations, Value

Loading ...
Strings are widely used in VBScript to pass information. This information might contain static and/or dynamic data.
Ex - a data base connection string “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Data.xls;Extended Properties=””Excel 8.0;HDR=Yes;IMEX=1″”;”
In the above string dynamic data is the excel file name “C:\Data.xls”. This article will show various ways to do the parameterization of this value.
The wrong way to do [...]
Register or Login to read the full article...
Tags used -
Data, Dictionary, Dynamic, Param, parameter, parameterization, Params, Replace, String, Value

Loading ...
DataTable are excel based files which can be used to store information required during the test. Any value entered into the data table cells, excel/datatable will automatically try to change the format to appropriate one.
When we enter “1234567890123″ in the data table, it will automatically format it to “1.23456789E+012″. To preserve the format we need [...]
Register or Login to read the full article...
Tags used -
DataTable, format, preserve, Preserving, Value

Loading ...
Dictionary object allows storing key value pairs. A dictionary object can be used for easy lookup of values. Dictionary is a not a QTP specific functionality and is available in normal VBScript as well.
Creating the Dictionary
A dictionary object can be created using CreateObject for COM class “Scripting.Dictionary”. The code below shows how to create the [...]
Register or Login to read the full article...
Tags used -
Check, CreateObject, Dictionary, Exists, Extend, Key, Scripting, Value

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 ...
Introduction
This document demonstrates the usage of Descriptive programming in QTP 8.20. It also discusses situations where Descriptive programming can be used. Using Descriptive Programming automation scripts can be created even if the application has not been developed.
Descriptive Programming
Whenever QTP records any action on any object of an application, it adds some description [...]
Register or Login to read the full article...
Tags used -
Descriptive, Descriptive Programming, Name, Programming, Regularexpression, Value