Parameters evaluation in Business Components

1 Star2 Stars3 Stars4 Stars5 Stars (5)
Loading ... 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...

How to set text in a WebElement or Frame?

1 Star2 Stars3 Stars4 Stars5 Stars (3)
Loading ... 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...

Changing variable’s value in Debug Watch Pane

1 Star2 Stars3 Stars4 Stars5 Stars (5)
Loading ... 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...

Capturing values from an Application objects

1 Star2 Stars3 Stars4 Stars5 Stars (3)
Loading ... 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...

Parameterizing your strings

1 Star2 Stars3 Stars4 Stars5 Stars (2)
Loading ... 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...

Preserving format of values in DataTable

1 Star2 Stars3 Stars4 Stars5 Stars (6)
Loading ... 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...

Extending Dictionary Object

1 Star2 Stars3 Stars4 Stars5 Stars (9)
Loading ... 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...

QTP FAQ, Tips & Tricks

1 Star2 Stars3 Stars4 Stars5 Stars (30)
Loading ... 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...

DP Part 1 - Overview

1 Star2 Stars3 Stars4 Stars5 Stars (30)
Loading ... 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...

  1. Suscribe to Email

    Enter your email address:

    Delivered by FeedBurner

  2. Most Viewed


  3. Sitemap

    open all | close all
  4. Most Rated

  5. Translator

    English flagItalian flagKorean flagChinese (Simplified) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flag
    Croat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flag
    Slovak flagSlovenian flagUkrainian flagVietnamese flag           
    By N2H

Your Ad Here