Micro Focus QTP (UFT) Forums

Full Version: Problem in identifying weblink
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
set WbLink = Description.Create()
WbLink("micclass").Value = "Link"
WbLink("name").Value = "o"

wbLink("href").Value=".*comments\'.*"

There are 2 links, the problem here is to identify the links comments and ports.
when i filter childobjects by comments, its even giving the childobjects of ports too.

i want to filter the childobjects of comments
The "href" property of comments:javascript:Overwrite('comments','0','2')
while the "href" property of ports is:
javascript:Overwrite('port','0','2')
Any help will be really appreciated.
Regards;
viajy