How to Pass Object and Input both when create Custom Keyword

Hi all,

Is there any way to pass input with Object in custom keyword

Example -

public void abc(TestObject obj, <>) {

String a = <>
}

How can we pass input (i.e. string) to custom keyword from manual mode? Please give solution if any.

Thanks in advance !

If you type this in Script view:

abc(obj, "This is the input string")

Then go to Manual View, you can see how to place an equivalent statement in Manual View.

But you probably want to make your method static and import the class statically.

Did this answer your question?

2 Likes

Hi Russ,

Yes this is the answer which I want.

Thanks !