Hello Everyone,
I am trying to use the custom keywords written in one package in another package.
//To fetch no of rows in a table, I have written a method in a different package
Package One
Class Row{
@Keyword
def rowsInTable()
{
Return n
}
}
What I want is , I want the rowsin table Keyword to be used in another package(another groovy script).
Package Two
Class Second
{
@Keyword
Def customInside
{
Int no=
CustomKeywords.‘one.Row.rowsInTable’()
Print no()
}
}
This I have used in my class
Class one
{
CustomKeywords.‘Two.Second…customInside’()
}
I am getting above mentioned eror in the screenshot. Pls help me out