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
Example:
for i=0 to 5
Browser("name:=.*").Page("title:=.*").WebElement("html tag:= Hai","height:=6" , "index:="&i)
Next