使用-robot【使用外部库】【random】

  1. 外部库random的使用
#错误
${ran int}=    Evaluate random.randint(0, sys.maxsize)


# 正确
I'm surprised the randint() doesn't work for you - did you use the correct syntax, Evaluate must point/end with the external module you're using, "random" in this case?
${ran int}=    Evaluate    random.randint(0, sys.maxsize)    random
上一篇:一次Mysql连接池卡死导致服务无响应问题分析(.Net Mysql.Data 8.0.21)


下一篇:基本数据结构实现--顺序表