Micro Focus QTP (UFT) Forums

Full Version: Highlight the Found text in Word/notepad
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can we Highlight the found text in Word document and notepad file by using WORD.APPLICATION or FSO.
How to find which value is having link and which are all not having in Web table.
Hi,

You can try the following code,

Code:
Set obj=Browser("creationtime:=0").page("title:=.*").WebTable(oWT).childobjects
cnt=obj.count
For i=0 to cnt-1
If obj(i).getroproperty("micclass")="Link" Then
        msgbox "The foll object has link:- "obj(i).getroproperty("Name")
        else
        msgbox  "The foll object does not has link:- "obj(i).getroproperty("Name")
    End If
Next