RE: Using the return value of a JScript function as a parameter in a keyword test.
I'm with Jose on this... Last Result might work... although, I'm not sure how you could use the specific result of a function if that function is not, explicitly, the previous step in your keyword test.
Another solution would be, in your test item where you are calling your keyword test, have it point to a Project Variable and then have your JScript function populate that variable.
Either way should work.
Robert Martin [Hall of Fame] Please consider giving a Kudo if I write good stuff ----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.