RobotFramework:关键字“Selenium2Library.Input Text”需要 2 个参数,得到 1

3 robotframework selenium-webdriver

我正在尝试设置自动测试。我正在使用 RobotFramework 和 Selenium2Library。

当我运行测试时,我得到Keyword 'Selenium2Library.Input Text' expected 2 arguments, got 1了这一行:

Input Text    id=quota 128
Run Code Online (Sandbox Code Playgroud)

我究竟做错了什么?我用谷歌搜索并找不到答案。:(

我的说明是http://rtomac.github.io/robotframework-selenium2library/doc/Selenium2Library.html

Har*_*rri 6

参数必须至少用两个空格分隔,所以

Input Text    quota    128
Run Code Online (Sandbox Code Playgroud)

会做。