Overriding default functions using function pointers

1 Star2 Stars3 Stars4 Stars5 Stars (3)
Loading ... Loading ...

In this article we will see how to override function using function pointer. Let’s first understand what overriding means. Overriding a function means changing the behavior of an existing function and defines a new behavior. It is different from function overloading. Function overloading allows a method to exhibit different behavior based on method signature while [...]

Register or Login to read the full article...

QuickTest Professional Unplugged

1 Star2 Stars3 Stars4 Stars5 Stars (106)
Loading ... Loading ...

QuickTest Professional Unplugged
By Tarun Lalwani (Author)
List Price: $49.99 + S/H
Current Price: Click here to see buying options
Pages: 442, Size: 8.5″ X 11″
Now available in India

HP QuickTest Professional is a functional test automation tool. It supports a Record and Playback framework out of the box, where we can record and capture our interactions with the application [...]

Read the full article...

Is it possible to use JavaScript in QTP

1 Star2 Stars3 Stars4 Stars5 Stars (4)
Loading ... Loading ...

This question has been asked a million times and the answer has been “Not possible” all the times. But not this time. Recently the query was asked on KnowledgeInbox forums and I had promised to get back soon on this.
On my quest to do the impossible I started researching on how exactly scripting technologies work. [...]

Register or Login to read the full article...

How to get current cursor type (Busy/Wait/Normal)?

1 Star2 Stars3 Stars4 Stars5 Stars (5)
Loading ... Loading ...

Sometimes we have to validate that on doing some heavy operation the cursor of the of the application needs to change to the hour glass one. Such validation though does not deserve to be automated, as they are best tested manually but having the ability to test it is an added advantage.
Recently this query was [...]

Register or Login to read the full article...

Implementing elegant if else

1 Star2 Stars3 Stars4 Stars5 Stars (14)
Loading ... Loading ...

A typical if else condition in VBScript would look like below

If (message = "ok") Then
Msgbox "I am calling ok"
Else
Msgbox "I am calling not ok"
End if

VB provides a elegant function named IIf for such small if else conditions. The function can be easily witten in VBScript

Public Function IIf(ByVal [...]

Register or Login to read the full article...

Implementing Callback in VBScript

1 Star2 Stars3 Stars4 Stars5 Stars (7)
Loading ... Loading ...

Callback is a function which is executed on completion of a registered event. VBScript is not a event driven language, which means we are limited in terms of events for which callback can be implemented.
This article will demonstrate how to implement a callback on finish/terminate event. This finish/terminate event could be one of the following

The [...]

Register or Login to read the full article...

VBScript Part 2 - Variables

1 Star2 Stars3 Stars4 Stars5 Stars (8)
Loading ... Loading ...

What is variable?
Variable is a named container used to store values

Declaring a variable
There are three possible ways to declare a variable

Dim <variablename>
Public </variablename><variablename>
Private </variablename><variablename></variablename>

Ex –

Dim x, y, z
Dim a
Dim b, c

Variable naming rules
Variable names should following the below rules

Must not exceed 255 characters.
Must be unique in the [...]

Read the full article...

VBScript Part 1 - Introduction

1 Star2 Stars3 Stars4 Stars5 Stars (8)
Loading ... Loading ...

VBScript is a scripting language. A VBScript can be executed in various ways

Using Windows Script Host (wscript.exe and cscript.exe). Will cover this later
Inside HTML page for IE Browser.
Other host process which allows to execute code in VBScript format (ex - HP QuickTest Pro)

Internal methods and objects
VBScript provides method and objects that can be used [...]

Read the full article...

Review - Test Design Studio (TDS)

1 Star2 Stars3 Stars4 Stars5 Stars (1)
Loading ... Loading ...

Test Design Studio (TDS) is enhanced IDE for WinRunner and QTP. It provides a Visual Studio style editor which provided enhanced code editing experience. This review will walk you through some of the key features of TDS
Solution
A solution allows you to group various types of files into one solution. This includes QTP, Winrunner, VBS, text, [...]

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