09-19-2010, 04:46 PM
Hi,
I am a beginner to QTP. I'm trying to write a script for replacing the word "QTP" with "Mercury" in a word document in location "D:\QTP Practice" in my local machine.
The word document "QTP.doc" has the following data in it.
*******************************************************
For testing QuickTest pro for searching a QTP word in the word document QTP .Searching for a word QTP from QTP, QTP .
Test again for the word QTP .
*******************************************************
I tried various methods of searching for the word and replacing it. Looks like I'm missing out on some important point.
Kindly help me with the script.
Thanks
I am a beginner to QTP. I'm trying to write a script for replacing the word "QTP" with "Mercury" in a word document in location "D:\QTP Practice" in my local machine.
The word document "QTP.doc" has the following data in it.
*******************************************************
For testing QuickTest pro for searching a QTP word in the word document QTP .Searching for a word QTP from QTP, QTP .
Test again for the word QTP .
*******************************************************
I tried various methods of searching for the word and replacing it. Looks like I'm missing out on some important point.
Kindly help me with the script.
Thanks