Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to compare Text Output value with word document
09-03-2010, 06:14 AM
Post: #1
How to compare Text Output value with word document

Hi,

In my application I need to read an agreement which has nearly 22 pages( Manually to get the job done we read word by word and it is Case sensitive). Now it is time to Automate with QTP.
I created script and added Text check point or Text Output value check point.

All I need to do now is Compare this output value with word document which has same content and make sure nothing is missed.

How can I call this word document into my script and compare with Text output value check point?
Find all posts by this user
Quote this message in a reply
09-03-2010, 09:02 PM
Post: #2
RE: How to compare Text Output value with word document
You can see how to work with files in the help file in QTP. Search for the words "working with files". If you want to compare all the document, character by character, you can use the function "mid" (see help for more information).
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Inserting Images in the Word file. atulparate 2 215 04-09-2012 12:44 PM
Last Post: swathi
  Trying to run MS Word startup file for Add-in rahul29 0 182 02-13-2012 10:45 PM
Last Post: rahul29
  Send Data from MSWord document 2 Excel File kisskasa 0 478 01-10-2012 01:51 PM
Last Post: kisskasa
  get page wise word count in msword using VB jgkgopi 1 842 06-30-2011 06:37 PM
Last Post: Skepsis
  How to open a word document in landscape mode through QTP nagappank 0 947 03-01-2011 04:32 PM
Last Post: nagappank

Forum Jump:


User(s) browsing this thread: 1 Guest(s)