0.3.1 • Published 8 years ago

testx-pdf-keywords v0.3.1

Weekly downloads
16
License
ISC
Repository
-
Last release
8 years ago

testx-pdf-keywords

A library that extends testx with keywords for testing PDF files. This library is packaged as a npm package

How does it work

From the directory of the art code install the package as follows:

npm install testx-pdf-keywords --save

After installing the package add the keywords to your protractor config file as follows:

testx.addKeywords(require('testx-pdf-keywords'))

Keywords

KeywordArgument nameArgument valueDescriptionSupports repeating arguments
check in pdfcheck that the expected regex matches the text in the PDF file
filefull path to the pdf file; one of file, url or link has to be specifiedNo
urlURL of the pdf file; one of file, url or link has to be specifiedNo
linklink to the pdf file; one of file, url or link has to be specifiedNo
timeouttimeout in milliseconds to wait for the link to the PDF to appear on the screen; ignored if the keyword is used with file or url; parameters; defaults to 5000 if not presentNo
expect1(2, 3...)expected regular expression to match the text in the pdfYes
check not in pdfsame as check in pdf, but checks that the specified regex DOES NOT match
0.3.1

8 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago