I’m running a few tests with the PDF Keywords plugin. I need to compare 2 PDFs that are identical except for a key string that is unique to each PDF. I need to tell the instruction to ignore that key string and compare everything else.
These are the keys on each PDF:
Katalon allows me to use a parameter so I can exclude a certain pattern, like If I want to exclude the strings “1998” and “1999” it would be like this:
CustomKeywords.‘com.kms.katalon.keyword.pdf.PDF.compareAllPages’(path+ “test_text1.pdf”, **
** path+ “test_text2.pdf”, [‘1998’,‘1999’])
But I don’t know how to tell Katalon to exclude a 2 strings (whatever they are) that always end in “.xml”.
Any ideas on how to do this are much appreciated. Thank you.