
Loading ...
QTP uses three types of properties during object identification, these are Mandatory, Assistive and Ordinal identifiers. This article aims at clearing any doubts about how these properties are used by QTP and what is the need for the same.
A Real life Example
Consider yourself as the Automation developer, myself as QTP and a parking lot as [...]
Register or Login to read the full article...
Tags used -
Assistive, Identifiers, Mandatory, Ordinal, properties, property, SI, Smart Identification, SmartIdentification

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 ...
Checking Exist property for a Test object might return True even when the object is not present on the screen. Though this is not an issue with QTP but there could be 2 possible reasons behind this. This article walks through both the reasons in details
Root Cause #1 - Smart identification being used to identify [...]
Register or Login to read the full article...
Tags used -
Class, currentStyle, display, element, Exist, GetROProperty, hidden, invisible, none, object does not exist, Smart Identification, style, True, visibility, visible

Loading ...
QTP provides 4 methods for working on a Test object properties
GetTOProperty
SetTOProperty
GetTOProperties
GetROProperty
A lot of times developers (Yes we are not testers) using QTP mix these methods and don’t know which one to use in which situation. After reading this article you will clearly understand Why, When and How to use these methods.
Before we go deep into [...]
Register or Login to read the full article...
Tags used -
GetROProperty, GetTOProperties, GetTOProperty, identification, Object identification, Object Repository, Repository, SetTOProperty, Smart Identification, test object

Loading ...
I have always been against the use of QTP Smart Identification (SI) feature whether it is development time to when the script are actually deployed for live testing. The reason behind this dislike is not personal but something logical. Most people think that Smart identification should be enabled when deploying the test scripts for live [...]
Register or Login to read the full article...
Tags used -
algorithm, Exist, login, Object, password, SI, Smart Identification, SmartIdentification, use