Robotframework error occurred: Keyword ' appiumlibrary.open application ' expected 1 to 2 Non-keyword arguments,got 5.

Source: Internet
Author: User

Robotframework Official website:

http://robotframework.org/#introduction

--------------

The scene that appears:

Since I didn't know robotframework at first, downloading Https://github.com/hong10/sample-code from GitHub and running the Robotframework sample code inside, the following error occurred:

Keyword ' Appiumlibrary.open application ' expected 1 to 2 Non-keyword arguments,got 5.

Resolution version: (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

Cause: This problem occurs because the open application in the sample code is not written in key,value form;

Robotframework error occurred: Keyword ' appiumlibrary.open application ' expected 1 to 2 Non-keyword arguments,got 5.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.