I am currently try to run some JavaScript within my robot framework code that creates a new function, and then uses the newly created function to return a value upon calling it. However, when I log the result to the console, I do. It get my desired output. Please help!
The code:
${test}= Execute Javascript return function test(){return 1}; test(); Log To Console ${test}
The console output:
{}
Aucun commentaire:
Enregistrer un commentaire