
Loading ...
Tables inside web pages are implemented without any name or id attributes most of the times. This makes it difficult for Automation engineer to create robust scripts for identifying the Table correctly at run-time. QTP by default uses the “index” ordinal identifier to recognized a WebTable, which is not a reliable method for identifying WebTables
Lets [...]
Register or Login to read the full article...
Tags used -
Cell, click, Dynamic, html id, identify, index, Name, Object identification, RegisterUserFunc, Row, Table, WebTable, WebTables

Loading ...
When launching the Siebel application with SWECmd=AutoOn parameter in the URL you might get a “Failed to connect to Siebel” error message. This error message indicates that the Siebel client package is corrupt and needs to be repaired. Corruption of Siebel packages can also cause QTP to stops identifying any of the Siebel objects even [...]
Register or Login to read the full article...
Tags used -
cannot, corruption, Error, Fialed to connect to Siebel, identification, identify, Object, Repair, Siebel, Unable

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