Hi All
I have written a python script for test automation. This script runs on Linux terminal. If test passed, it prints a string. I want to compare that string after running the python script from robot framework.
My python prints: "PASSED: Password updated" on successful completion.
In Robot framework, I have written:
*** Test Cases ***
Update_Password
${result}= Run Process python //root//1_Update_Password.py
Should Be Equal ${result.stdout} PASSED: Password updated
It is failing with message: != PASSED: Password updated
${result} = <result object with rc 1>
Thanks & Regards
Swati Rauniyar