
Loading ...
I recently upgraded my QTP from version 9.2 to 9.5. The upgrade was does after doing a clean uninstall using my QTP Clean Uninstaller tool. Even after the clean uninstall, i found that QTP 9.5 was not recognizing Firefox a Browser but as a Window test object. The issue seemed to be with Firefox caching [...]
Register or Login to read the full article...
Tags used -
Add-ons, AgentPlugInFireFox, Browser, Firefox, identification, identify, Mozilla, Object identification, Window, WinObject

Loading ...
QTP identifies windows object using their classes. All default class map to a specified window Test object in QTP. Ex – The “Edit” class maps to WinEdit test object, “Static” class maps to the Static Test object.
Objects inside applications developed using standard windows API can be easily identified and automated through QTP.
But at times applications [...]
Register or Login to read the full article...
Tags used -
Custom, identification, identify, map, mapping, Object, Object identification, windows, WinObject

Loading ...
This article would go over some common mistakes people make while using Descriptive Programming (DP) in QTP.
Using strings with Pattern
Let’s assume we want to click a link “Logout (Tarun)” on my web page. Two possible methods that can be used are
Method 1
Browser("miccclass:=Browser").Page("micclass:=Page").Link("text:=Logout (Tarun)").Click
Method 2
Set oDesc = Description.Create
oDesc("text").Value = "Logout (Tarun)"
Browser("miccclass:=Browser").Page("micclass:=Page").Link(oDesc).Click
Now both the above methods will [...]
Register or Login to read the full article...
Tags used -
cannot, Class, Class Name, Common, Descriptive, Descriptive Programming, identify, micclass, Object