Integrating Katalon PDF Plugin with Katalon Studio is straightforward and can be achieved in a few simple steps:
Install the Katalon PDF Plugin from Katalon Store.
OR
Alternatively, download this plugin offline from ChangeLog.
PDF Plugin Keywords
PDF keywords Plugin offers 14 custom keywords to help you start automating tests with PDF documents.
To get the total number of pages of the PDF documents, use the following keyword:
getPageNumber
To format the content of the PDF file as plain text, use any of the following keywords:
getTextFromPage
getTextInPageRange
getAllText
To compare the content between two PDF files, use any of the following keywords:
compareFromPage
compareInPageRange
compareAllPages
To compare two PDF files pixel by pixel for content and format, use the following keyword:
compareByPixel
To save PDF pages as images, use any of the following keywords:
savePageAsImage
savePageRangeAsImages
saveAllPagesAsImages
To extract and save images from PDF pages, use any of the following keywords:
extractImagesFromPage
extractImagesInPageRange
extractAllImages
You can also customize the VerifyPDFkeywords sample test case that comes along with this project for your testing purpose.
Check the test case results in the Log viewer tab.
Visit Katalon Forum for Plugin related discussions.