(older archive entries before 2007 are not shown here, but included in the onsite-search)
Mailing List - Entries of 2014
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] How to check contents of a word document.
Hello Vinod, there is no built in function to check the contents of a word document. For checking a specific text you could use a 3rd party tool like docx2txt (http://sourceforge.net/projects/docx2txt/) to convert the word document to a txt-file first. This txt-file could then be used inside QF-Test for checking the contents. I've attached a sample suite which triggers the conversion of the word document and checks for a specific text afterwards. You just need to download and install docx2txt from the url mentioned above and modify the filename and path inside the test-suite. For checking images I would recommend to convert the document to a pdf and than use for example PDFRenderer (https://java.net/projects/pdf-renderer) to load the PDF in a Java app. Inside the java app you could then record image checks on the components you need to verify. Best regards, Thomas, QFS Support On 02.09.2014 08:04, Hejib, Vinod IN BLR STS wrote:
Hello All, I have a MS word document(.doc) generated in one of my application. The document has texts, diagrams, tables and other string contents. Can I know how to check contents of this document using QFT -Vinod _______________________________________________ qftest-list mailing list qftest-list@?.de http://www.qfs.de/mailman/listinfo/qftest-list