Thursday, 6 August 2015

"Object Type:" object's description matches more than one of the objects...

Using Index property we can avoid this error while running QTP script, for that Use child obejcts method  to get the total count of all webedits or links or etc... and then loop it.

Example:

for i=0 to 5
Browser("name:=.*").Page("title:=.*").WebElement("html tag:= Hai","height:=6" , "index:="&i)
Next