I'm trying to understand how Robot Framework is working. So I did a little test using both those files:
• hello.py
print('Hello')
• TC_Hello.robot
*** Settings ***
Library Process
*** Test Cases ***
Example of running a python script
${result}= Run Process python D:\\RobotFrameworkTest\\Hello\\hello.py
Should be equal as strings ${result.stdout} Hello
But I get the error No keyword with name 'Run Process' found for some reasons. So I checked SO and people seem to forget to include the library which is not my case.
Can anyone help me?
-- EDIT
I've tried running the robot file with another syntax which seem to run successfully for some reasons :
*** Settings ***
| Library | Process
*** Test Cases ***
| Example of running a python script
| | ${result}= | run process | python | D:\\RobotFrameworkTest\\Hello\\hello.py
| | Should be equal as strings | ${result.stdout} | Hello
BUT my employer don't like this syntax soooo...
