Executing selenium codebase jar using katalon

How to execute standalone selenium jar file using katalon studio ?
Tried, adding external library , used the Loader class and its main method to run , errors are displayed
as Test Cases/New Test Case FAILED because (of) (Stack trace: groovy.lang.MissingMethodException: No signature of method: Script1544443575458.Loader() is applicable for argument types: () values:
Possible solutions: notify(), wait(), collect(), every(), find(), grep()

Please help!!

Could you please show us the script?

This is the main class in jar which run the test case.

public class loader {
public static void main(String[] args) {
loginclass login = new loginclass();
login.LoginApplication(); }}

i have added the entire jar as external lib and trying to run it as

loader loader = new loader()
loader.main(null)

Please let me know if it is possible to run my selenium test cases using katalon external library option by calling the main method or invoking entire runnable jar ?

hi,
ad your custom .jar to the project Driver folder, restart Katalon and should be usable then
are you imported the package.class in your script editor?
import my.custom.keyword
I am using external .jar(s) and works fine

1 Like