Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

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

No comments:

Post a Comment

Note: only a member of this blog may post a comment.