08-10-2011, 11:47 AM
Thanks for your suggestions
Msgbox listLinks(0).exist gives a true
I tried with descLink("micclass").Value="Link" - Same result
The problem as I understand is not object recognition. QTP recognizes the link object.
Problem is, when I manually click on the dynamic link, it opens a new browser window with comments in it. Kind of like a chat window. It's not happening when I use QTP to do the same
I object spied the link properties and here they are ,listed(I can't attach screenshot)
Class Name:Link
Html tag:A
href: http://abcd.com/# - I think this is the problem
url: http://abcd.com/#
text,innerhtml,innertext,name: 914 Comments - (This keeps changing as this a dynamic link)
outerhtml: <A
visible: True
Msgbox listLinks(0).exist gives a true
I tried with descLink("micclass").Value="Link" - Same result
The problem as I understand is not object recognition. QTP recognizes the link object.
Problem is, when I manually click on the dynamic link, it opens a new browser window with comments in it. Kind of like a chat window. It's not happening when I use QTP to do the same
I object spied the link properties and here they are ,listed(I can't attach screenshot)
Class Name:Link
Html tag:A
href: http://abcd.com/# - I think this is the problem
url: http://abcd.com/#
text,innerhtml,innertext,name: 914 Comments - (This keeps changing as this a dynamic link)
outerhtml: <A
visible: True