Hi ,
I have a Class A with custom keywords defined within the class. When I try to create and object of this class in another Class B , it gives and error. Though I did this in previous version of KS, not sure how to implement this in current version. I have imported the package and all necessary classes
Error is Groovy:unexpected token: ClassA = new ClassA() @ line 13, column 2.
public ClassA {
@Keyword
public void read ()
{
}
@Keyword
public void delete(){
}
}
public class ClassB{
ClassA test = new ClassA() // Not working and it throws
}