vendredi 26 novembre 2021

Robot Framework : random gives the same value everytime

I created a python file keywords.py and inside of it I have a random.randint fonction, excuted alone it works like charm.

I imported the .py file inside .robot (Library keywords.py) the problem is when I use it inside robot test it uses the same value again and again. I think robot compiles the .py file and uses the same output of the random...

So is there a way to solve it please thanks.




Aucun commentaire:

Enregistrer un commentaire