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”?
添加回答
舉報
0/150
提交
取消