标签:
robotframework官网:
http://robotframework.org/#introduction
--------------
出现的场景:
由于一开始不了解robotframework,从github上下载https://github.com/hong10/sample-code,运行里面的robotframework示例代码,出现以下错误:
Keyword ‘AppiumLibrary.Open Application‘ expected 1 to 2 non-keyword arguments,got 5.
解决版本:(https://github.com/jollychang/robotframework-appiumlibrary/issues/28)
since 1.2.0 we update Open Application keyword, you can check it that
http://jollychang.github.io/robotframework-appiumlibrary/doc/AppimuLibrary.html#Open%20Application
such as
Open Application http://localhost:4723/wd/hub platformName=Android platformVersion=4.2.2 deviceName=192.168.56.101:5555 app=${CURDIR}/demoapp/OrangeDemoApp.apk appPackage=com.netease.qa.orangedemo appActivity=MainActivity
原因:由于示例代码中的Open Application没有以key,value的形式书写,导致出现这个问题;
标签:
原文地址:http://www.cnblogs.com/LittleRedPoint/p/4476949.html