Pabot文档提供了一个例子来说明如何调用它,就像:
***Settings***
Library pabot.PabotLib
*** Test Case ***
Testing PabotLib
Acquire Lock MyLock
Log This part is critical section
Release Lock MyLock
${valuesetname}= Acquire Value Set
${host}= Get Value From Set host
${username}= Get Value From Set username
${password}= Get Value From Set password
Log Do something with the values (for example access host with username and password)
Release Value Set
Log After value set release others can obtain the variable values
但是,我只能“Library pabot”,当我在我的 RED RobotEditor 和 Pycharm 中尝试“Library pabot.PabotLib”时,它总是提醒“Unknown 'pabot.PabotLib' library”。
我应该如何在我的 IDE 中调用“pabot.PabotLib”?
相关分类