Skip to content
Advertisement

Tag: web-api-testing

Karate ReferenceError: package is not defined

I’m using java codes in karate feature file, refering github demo: I noticed that the feature file is in src/test/java, which defined as classpath in pom.xml. Meanwhile the util class is in src/main/java. In my project I use similar structure Following code is in the feature file with Class Reference: But I got an exception below: Is it a classpath

Advertisement