Micro Focus QTP (UFT) Forums
Highlight the Found text in Word/notepad - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Highlight the Found text in Word/notepad (/Thread-Highlight-the-Found-text-in-Word-notepad)



Highlight the Found text in Word/notepad - Sivakumar2186@gmail.com - 08-06-2013

How can we Highlight the found text in Word document and notepad file by using WORD.APPLICATION or FSO.


RE: Highlight the Found text in Word/notepad - Sivakumar2186@gmail.com - 10-09-2013

How to find which value is having link and which are all not having in Web table.


RE: Highlight the Found text in Word/notepad - BadrinarayananR - 10-21-2013

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