List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 

[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 ( 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
( 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


qftest-list mailing list

Attachment: checkTextFromDoc.qft
Description: application/qftest