HELP!!!
I have two XML and Excel files. Using Python, I search for the data I need and verify if they are True/False. The Python script works fine, but I encounter a problem when converting to a .robot
file for Robot Framework. Specifically, I need each checked line to be a separate test in the Robot Framework.
I don’t want to hardcode the tests because the number of values to check can vary — it could be 5, 10, or even 100. How can I implement dynamic testing in Robot Framework?
example output from python :
False Not matched code. Should be: mr RED, Nominal value: 99, Actual value: 20
True Matched all for mr GREEN , Nominal value: 5, Actual value: 5
and to display I can only either do as one test , but then the test est TRUE, even though there are data are different in the test . then the robot framework looks to see if the script does not get off . Or I have to harkcode , for example:
Test 1 mr Red 20
Test 2 mr Green 5
But I need to do dynamic tests
Olgierd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.