How to search a string in a page using QTP 8.2 .??
I have a question in QTP.
am using QTP 8.2 and want to search a string in a page
i.e suppose i have a string “nothing”, and want to search whether this string is there in the page or not…
Also i have to check whether it is bold or not..?
Re: How to search a string in a page using QTP 8.2
set sample= Browser("title:=Google.*").Object.Document.All
txt = sample.Item(0).innerText
If instr(txt,"Google") Then
'Here u get the Outer Html and Check for the Property u want to check for the Paticular Word