How to find in QTP, how many times that a particular text appeared in particular application or file.
any advices and suggestions are appreciated.
thanks in advance..
YOu need to see from other angle of the problem if you struck with any problem.
heres a sub-routine concept:
Check for text
if specified text is found
Modify to what you require.
I'm not a complete idiot - some parts are missing.
Capture all text to a string (say myString).Then use the following:
tempArr = split(myString,"CountMe")
You should get the count of "CountMe" string in myString on the message box.