Dynamic Action Call - Part 2

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

In my Dynamic Action Call - Part 1 article we were left with certain issues
Actions with Input or output parameters cannot be called
Actions using Shared object repository cannot be called
In this article we will see to overcome the limitation of the approach discussed in Part 1. Instead of directly looking at what the solution is, [...]

Register or Login to read the full article...

Script runs for First Row only when DataTable is imported

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

QTP allow running a script multiple number of times using Global DataTable iterations. At times it is required to load the DataTable at run-time. Doing it wrongly will make your script only run for the first row of the DataTable. In this article we will look in detail about what goes wrong.
Create a blank new [...]

Register or Login to read the full article...

Error adding Object Repository dynamically to a read only test

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

RepositoriesCollection utility object introduced in QTP 9.2 allows adding a Object Repository dynamically to a Action. The code shown below demonstrates how to add a object repository at run-time

RepositoriesCollection.Add "C:\Test.tsr"

The code above associates the Object Repository to the current action. But when the same code is added to a library and associate with the test, [...]

Register or Login to read the full article...

Performing action on multiple objects

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

At times, there are situations where we need to execute the same operation on multiple objects. Example of such situations is listed below

Checking/Unchecking all Check Boxes on a web page
Setting all the Text Boxes to blank value
Selecting the first possible value for every WebRadioGroup

The usual way to do it in Descriptive Programming (DP) is to [...]

Register or Login to read the full article...

Difference between Test and Action Parameters

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

  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