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.
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
|
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.