
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 ...
This article discusses how we can convert an Object repository based script to DP based script. For this we will do a simple recording of entering some text on Google.com search text box and clicking the Google search button
The QTP generated script would look something like below
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://www.google.com"
Browser("Browser").Page("Google").WebEdit("q").Set "KnowledgeInbox"
Browser("Browser").Page("Google").WebButton("Google Search").Click
All the names [...]
Register or Login to read the full article...
Tags used -
Convert, Descriptive, Descriptive Programming, Object, Object Repository, OR, Repository