How to get and use Java return values in AkaStudio?

I am trying to get Business Keyword working by looking at the following URL

I would like to know how to get and use the return value (int) of a Java program in a test step.

I am assuming that the E2E step calls Java and assigns the result to a variable in Output (e.g. $.this.somevalue).
If I want to use that value in a text box, I assume I use Send keys and write something like keys = $.this.somevalue in the Input.

When I ran it, the text box showed the variable declaration as it is, like $.this.somevalue.

1 Like

you should input the correct syntax of variable

In your question, I see you typing missing this ``

3 Likes

I got it.
Thanks a lot.

1 Like