
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...
Tags used -
Action, action folder, Call, Dynamic, execute, executefile, mtr, ObjectRepository, output parameters, parameter, parameters, run, run-time, RunAction, Runtime

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...
Tags used -
Action, DataTable, Dynamic, first, First Row, Global, import, ImportSheet, iteration, Iterations, libraries, Row, run, run-time, runs, sheet

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...
Tags used -
Action, Cannot perform the operation because the action is a read-only action, Dynamic, Object Repository, read only, readonly, RepositoriesCollection

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...
Tags used -
Action, Descriptive Programming, execute, Framework, function, GetTOProperties, multiple, RegisterUserFunc, SI, Smart Identification

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