how to call object value defined in keyword into the script to print on console/log viewer.

//custom defined keyword
package testpack
public class Message

public static void PageName(String message)
    String s= "praveen"


//call of keyword in the script
def a= CustomKeywords.'testpack.Message.PageName.s'()
log.logInfo(" my name is " + a)

**it shows error **
FAILED because (of) java.lang.ClassNotFoundException: testpack.Message.PageName

_i want to call object s in the script and print in the log viewer. _

Sign In or Register to comment.