I created a combined keyword in GoTest to run a bit of script to extract the index of a component on a web page. I want to use that as a locator in my Selenium test. GoTest is a wrapper UI around RobotFramework.
I tried to create a global variable and put the value in that global variable, but it doesn't seem to work. The variable is empty when I try to use it.
CodePudding user response:
You can place the result calculated by your combined keyword script into a variable and then put that variable in the return field of the combined keyword.
Example of the result: