Robotframework 没有名称为';按Native'键;建立

Robotframework 没有名称为';按Native'键;建立,robotframework,Robotframework,我正试图设置一个测试,但遇到了一个问题 我使用的是按键Native关键字。我得到了以下错误 ------------------------------------------------------------------------------ Test Filter | FAIL | No keyword with name 'Press Key Native' found.

我正试图设置一个测试,但遇到了一个问题

我使用的是
按键Native
关键字。我得到了以下错误

------------------------------------------------------------------------------
Test Filter                                                           | FAIL |
No keyword with name 'Press Key Native' found.
------------------------------------------------------------------------------
我的代码是:

Test Filter
    Press Key Native    80
    Press Key Native    9
    Press Key Native    80
    Press Key Native    10
    Press Key Native    80
    Press Key Native    9
    Press Key Native    80
    Press Key Native    10
    Open Browser To Startpage
    Press Key Native    80
    Press Key Native    9
    Press Key Native    80
    Press Key Native    10
    Press Key Native    80
    Press Key Native    9
    Press Key Native    80
    Press Key Native    10
    Open Browser To Google
我在网上到处找,什么也没找到-(


非常感谢您的帮助!

您提到的关键字是SeleniumLibrary的一部分,这是一个旧的selenium库。大多数人使用的是SeleniumLibrary,它没有该关键字。根据对一条评论的回答,您似乎正在使用新的SeleniumLibrary,这就是它找不到关键字的原因。

您有没有rted SeleniumLibrary?你真的在使用SeleniumLibrary,而不是Selenium2Library,它没有按键本机?谢谢你,哈里,你解决了我的问题!我在使用Selenium2Library。我不能给出+1的评论,但我会给出其他的。