I want to use default custom keywords inside my Keywords folder. When I am calling the custom keyword it is throwing an error.
Do I need to add any import statement for Custom keywords? please help me
I want to use default custom keywords inside my Keywords folder. When I am calling the custom keyword it is throwing an error.
Do I need to add any import statement for Custom keywords? please help me
Hi. You can call it directly as a method. Just import keyword (class) name.
I’ve never tried this but give this a go…
import com.katalon.plugin.keyword.connection.DatabaseKeywords.getGlobalConnection
// etc.
Either
import com.katalon.plugin.keyword.connection.DatabaseKeywords
or
import static com.katalon.plugin.keyword.connection.DatabaseKeywords.getGlobalConnection
(if those methods are even static)
Yep. I wondered about that too. Don’t use them. Don’t know.