我正在尝试使用 Robot Framework 运行一些测试,但是当我尝试此代码时,我收到以下错误
*** Settings ***
Library SeleniumLibrary
Suite Setup Go to homepage
Suite Teardown Close All Browsers
*** Variables ***
${HOMEPAGE} http://www.google.com
${BROWSER} chrome
*** Test Cases ***
Google mdh and find mdh.se
Google and check results mdh www.mdh.se
*** Keywords ***
Google and check results
[Arguments] ${accept} ${searchkey} ${result}
Click Button class=RveJvd snByac ${accept}
Click Button name=btnK ${searchkey}
Wait Until Page Contains ${result}
Go to homepage
Open Browser ${HOMEPAGE} ${BROWSER}
关键字“谷歌和检查结果”预期 3 个参数,得到 2 个。