List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter  

To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.

Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] How to check contents of a word document.


  • Subject: Re: [QF-Test] How to check contents of a word document.
  • From: "Thomas Max, QFS Support" <support@?.de>
  • Date: Thu, 04 Sep 2014 15:30:03 +0200

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

Attachment: checkTextFromDoc.qft
Description: application/qftest