Micro Focus QTP (UFT) Forums
Read fields from a document(.docx file) - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Read fields from a document(.docx file) (/Thread-Read-fields-from-a-document-docx-file)



Read fields from a document(.docx file) - sunitha - 06-05-2008

There is an output application form which is in docx(word 2007) format with field (like Name, age,Policy No. etc) being placed through placeholders from an XML file. Can anybody give me some clue, to test these field values.


RE: Read fields from a document(.docx file) - Anshoo Arora - 06-05-2008

Do you need to test the XML file or the DocX?


RE: Read fields from a document(.docx file) - sunitha - 06-06-2008

My first level of testing is to compare whether doc file and docx file are one and the same. How can I go about it as doc file is in Binary format and docx file will be in XML format?
Please let me know how to go about this issue?


RE: Read fields from a document(.docx file) - namitarayudu - 06-12-2008

Either Convert docx (XML format) to doc or doc format to docx (XML) and then use file comparision... try with Google to get the conversion tools...I think this will help you.