PDF Keywords no longer working

Since yesterday all of the test cases (even from different test suites) in which I use something similar to “CustomKeywords.‘com.kms.katalon.keyword.pdf.PDF.compareFromPage’(path+ “test_text1.pdf”,
path+ “test_text2.pdf”, 4,null)” are going to Failed with the error below.

I have not changed anything in my script or katalon setting recently.
I also went to the plugins to verify the status and I see it Active as usual (screenshot attached).

does anybody facing the same problem or have any idea of what is going on?

the error:

2020-09-16 10:21:56.633 ERROR k.k.c.m.CustomKeywordDelegatingMetaClass - :x: com.kms.katalon.keyword.pdf.PDF
2020-09-16 10:21:56.638 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/VerifyPDFKeywords FAILED.
java.lang.ClassNotFoundException: com.kms.katalon.keyword.pdf.PDF
at com.kms.katalon.core.main.CustomKeywordDelegatingMetaClass.getCustomKeywordClassAndSetMetaClass(CustomKeywordDelegatingMetaClass.java:100)
at com.kms.katalon.core.main.CustomKeywordDelegatingMetaClass.invokeStaticMethod(CustomKeywordDelegatingMetaClass.java:45)
at VerifyPDFKeywords.run(VerifyPDFKeywords:57)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1600244509288.run(TempTestCase1600244509288.groovy:25)

Try to delete lib, bin folder in your project. Close and reopen the project again to see if it helps !

Thanks Thanh, I’ve tried but It didn’t help.

This problem has been resolved by…

  1. downloading the jar file from this link:

  2. added file from: Project > Settings>External Libraries

@hamen After downloading jar file to your local machine did you added jar file inside this below location?
"Project > Settings>External folder" or what else have you done. can you please explain. I am still having the same issue.

Hi @sshah ;

I’ve just downloaded/extracted the jar file.
then I went to Katalon and click on the menu project and then settings.
then I went to “External Libraries” and added the Jar file (screenshot attached)

I didn’t make any change in the script, it just takes this external library automatically.

I hope this helps