serhatbolsu / robotframework-appiumlibrary Goto Github PK
View Code? Open in Web Editor NEWAppiumLibrary is an appium testing library for RobotFramework
License: Apache License 2.0
AppiumLibrary is an appium testing library for RobotFramework
License: Apache License 2.0
Below is my resource file
*** Setting ***
Library AppiumLibrary run_on_failure=Close Application
*** Variable ***
${remote_url} http://localhost:4723/wd/hub
${platformName} iOS
${platformVersion} 7.1
${deviceName} iPhone 4s
${app} /Users/Mobile.app
*** Keyword ***
TestBill
[Documentation] Bill
#Open Application ${remote_url} ${platformName} ${deviceName} ${platformVersion} ${deviceName} ${app}
Open Application http://localhost:4723/wd/hub platformName=iOS platformVersion=7.1 deviceName=iPhone 4s app=/Users/Mobile.app
-This line works
Open Application http://localhost:4723/wd/hub platformName=iOS platformVersion=7.1 deviceName=iPhone 4s app=/Users/Mobile.app
-If i use this line
Open Application ${remote_url} ${platformName} ${deviceName} ${platformVersion} ${deviceName} ${app}
i am getting this error
"Keyword 'AppiumLibrary.Open Application' expected 1 to 2 non-keyword arguments, got 5."
It was working until i updated AppiumLibrary today
To retain compatibility with robotframework selenium2library it would be nice to have the Open Application support the desired_capabilities dictionary.
Thank you.
working with Android i am getting below error when trying to use keyword "Shake"
info: [debug] Responding to client that a method is not implemented
info: <-- POST /wd/hub/session/c2ff7fb7-7837-4830-95fd-c3fcf5a1a529/appium/device/shake 501 3.294 ms - 158
Can you please check, many thanks in advance.
Hi,
I found that the demo apk packaged, doesn't have any form to add contacts, so the test_android_contacts.txt demo test fails.
Thanks for this awesome lib!
Pedro
Hi. I'm pretty new with automated testing. I am trying to access divs inside a webview to click on element.
If I open the appium inspector, I can only see inside the webview the divs that contain text (they are identified as a UIAStaticText element). All others are ignored. Even if I try to access it regardless, using
Tap //div[@id='button']
it says the element does not exist. I precise I switch to WEBVIEW_1 before that.
are there any plans for the Android keyevent support? I.e. http://developer.android.com/reference/android/view/KeyEvent.html - e.g. home button, or one one of the physical buttons, e.g. power key
Appium seems to support this, so it would be good to have it also in the appiumlibrary.
Wait Until Page Contains Some Text
fails with
AttributeError: 'AppiumLibrary' object has no attribute '_timeout_in_secs'
simple sudo pip install robotframework-appiumlibrary installation. When I try to run my test(s) I get this:
[ ERROR ] Error in file '/Users/si-briancohen/jenkins_home/workspace/Sys_Integrity_Automation/consumer_mobile/resources/resources_mobile.robot': Importing test library 'AppiumLibrary' failed: ImportError: No module named sauceclient
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/AppiumLibrary/__init__.py", line 4, in <module>
from keywords import *
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/AppiumLibrary/keywords/__init__.py", line 5, in <module>
from _element import _ElementKeywords
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/AppiumLibrary/keywords/_element.py", line 3, in <module>
from appium.webdriver.common.touch_action import TouchAction
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/appium/__init__.py", line 18, in <module>
from .saucetestcase import SauceTestCase
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/appium/saucetestcase.py", line 20, in <module>
from sauceclient import SauceClient
PYTHONPATH:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/robot/libraries
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/usr/local/bin
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.9.7-py2.7.egg
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.4-py2.7.egg
/usr/local/lib/python2.7/site-packages/setuptools-0.9.7-py2.7.egg
/usr/local/lib/python2.7/site-packages/pip-1.4-py2.7.egg
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/Library/Python/2.7/site-packages
/usr/local/lib/python2.7/site-packages
The GitHub page for robotframework-appiumlibrary says to do:
pip install robotframework-appiumlibrary
but when I do this on my OS X 10.10.3 MacBook Pro I get an error as shown in the attached log.
Can't attach log "Something went really wrong, and we canโt process that file."
see following:
Downloading/unpacking robotframework-appiumlibrary
Getting page https://pypi.python.org/simple/robotframework-appiumlibrary/
Cleaning up...
Removing temporary dir /private/var/folders/9c/qg38_v_d5kd2jygfp8bw2v_c0000gp/T/pip_build_cmtaylor...
Exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/index.py", line 194, in find_requirement
page = self._get_page(main_index_url, req)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/index.py", line 568, in _get_page
session=self.session,
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/index.py", line 670, in get_page
resp = session.get(url, headers={"Accept": "text/html"})
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 468, in get
return self.request('GET', url, *_kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/download.py", line 237, in request
return super(PipSession, self).request(method, url, *args, *_kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 456, in request
resp = self.send(prep, *_send_kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 559, in send
r = adapter.send(request, *_kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 327, in send
timeout=timeout
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 488, in urlopen
conn = self._get_conn(timeout=pool_timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 222, in _get_conn
return conn or self._new_conn()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 683, in _new_conn
return self._prepare_conn(conn)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 647, in _prepare_conn
conn.connect()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 179, in connect
self._tunnel()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 745, in _tunnel
line = response.fp.readline(_MAXLINE + 1)
TypeError: readline() takes exactly 1 argument (2 given)
CSS locator is not support?
In fact, I don't see any request send to appium when I use locator of css
CSS is needed when I want to test webview.
When I cloned this issue on my windows machine I could not install the package due to following syntax error:
Traceback (most recent call last):
File "setup.py", line 7, in
from ez_setup import use_setuptools
File "src\ez_setup.py", line 106
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax
Is there a possibility to call for implicit wait on app launch ?
There is no such a keyword in appium library of RF(Robot Framework) to install or Uninstall apk on the real devices. Do we have any method in appium to do the same? any example?
With the help of Android library its easy but i am looking solution for appium.
Any help will be appreciated... :-)
Hi.
I am new to appium.
I am implemeting RobotFramework+AppiumLibrary(1.0.19) to test my android native app.
I start the test, performing a login with a facebook user, and the app opens a webview for facebook login form.
So, in order to interact with the facebook web view I execute the keyword "Switch To Contex" with the name of the webview context:
Switch To Context | WEBVIEW_1
Then I perform the login to facebook.
When I finish this steps It supose the app is back in the native context, so I need to execute "Switch To Context" again with the parameter "NATIVE_APP".
At this point I am getting an error like this:
WebDriverException: Message: {"status": 6, "sessionId": "87ae2153a891498e80b026bed6d5c9bf", "value": ""}
I found that this is someting related with the webDriver, but I don't know how to solve it.
I'll apreciate any help!
Thanks!
I have tried id selector with selenium 2.46.1, something is diffrent and id directs to css selector.
This breaks appium execution as it tries to parse css selector instead of id
I am trying to click element which doesn't work with xpath locator.
I want to find one element and click on other relative to that.
Is there any work around for this (like we do for WebApp "//node/..")??
Please help!!
command: pip install -U robotframework-appiumlibrary
error: Could not find a version that satisfies the requirement pytest-pythonpath>=0.4 (from robotframework-appiumlibrary) (from versions: 0.1, 0.2, 0.3)
I try to get pytest-pythonpath 0.4,but there is only 0.3 on pip, so I think there is a typo?
Hi all, I have a idea.
AppiumLibrary has 51 keywords
Selenium2Library has 163 keywords
As wee all know, appium is a framework extended from selenium, so AppiumLibrary should have more selenium keywords
Developing all of the keywords is a very tedious work, besides, Selenium2Library has already implemented them. Why not consider combining the 2 library when we in test work?
If this is really valueable, I will provide a new keyword that making the 2 librarys work together and fork/pull a request.
Hi, I've been using appium library for about a year, and I made some modifications to _element.py to add some keywords from selenium2. Kaywords that doesn't come by default.
How is the procedure to add this changes to the master.
I would like to share my modifications whit the comunity.
Thanks!
Greetings!
We have a large existing codebase using Appium 0.18.2 along with Robot Framework and the Selenium2Library. The testing centers around an Android wrapped application, but the switch to webview fails when run against Appium 1.x. I understand that we should now be importing webdriver from appium rather than from selenium, and that switching to webview now relies upon code that is specific to appium.webdriver.
Does your library support Appium 1.x? If so, is there a way I could open the session and switch to webview with your library, and then hand it off to Selenium2Library?
here the test code:
public void Test03_pan() throws InterruptedException{
String origContext = driver.getContext();
System.out.println(origContext);
WebElement btnPan = driver.findElementById("btn-pan");
btnPan.click();
Thread.sleep(3000);
System.out.println("start switch");
driver.context("NATIVE_APP");
String newContext = driver.getContext();
System.out.println(newContext);
driver.tap(1, 100, 400, 1000);
driver.swipe(100, 400, 100, 500, 5000);
System.out.println("switch back");
driver.switchTo().window("WEBVIEW_1");
String s = driver.getContext();
System.out.println(s);
}
I have tried so much,but none worked.
Can I get your suggestions?
best regards.
There a couple of issues with the udid
argument in the Open Application
Keyword:
udid
is also valid for android.Open Application http://127.0.0.1:5555/wd/hub ... udid=xxx Open Application http://127.0.0.1:6666/wd/hub ... udid=yyy
The first line of code connects to the device with the "udid=xxx" using the appium1 instance.
The second line of code connects to the device with the "udid=yyy" using the appium2 instance.
Open Application
call does not contain the udid
the desiredCapabilities
will be send with udid=null
to appium and this confuses appium is certain scenarios --> udid
should be added to desiredCapabilities
only if the udid
value is not null.Open Application
i.e. add them to desired capabilities only if the value is not null.Just let me know, if you want me to create a PR for this.
Hello,
I thank you again very much for your work and your implication in this library.
And your reactivity also, which I must say is quite amzaing :)
I have another request for a future release.
I can start the Appium session in Selendroid mode with the library; using the argument "automation name = selendroid" within the Open Application keyword.
However, when in Selendroid mode, the mobile gestures keywords are no longer recognized since it is the selendroid server that does the work.
My request is the following : could it be possible to implement the keyword "Flick" that would match the selendroid keyword ?
It is defined in the appium python client in the following file :
appium/webdriver/webdriver.py
Thank you again for you time and efforts,
Andrรฉa
I use "pip install robotframework-appiumlibrary", I got some error:
No distributions matching the version for pytest-pythonpath>=0.4 (from robotframework-appiumlibrary)
Why?
I can use "pip install robotframework-appiumlibrary==1.0.22" to install 1.0.22 success.
pip.log:
Downloading/unpacking robotframework-appiumlibrary
Getting page https://pypi.python.org/simple/robotframework-appiumlibrary/
URLs to search for versions for robotframework-appiumlibrary:
https://pypi.python.org/simple/robotframework-appiumlibrary/
Analyzing links from page https://pypi.python.org/simple/robotframework-appiumlibrary/
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.0.tar.gz#md5=a01f8c900d2ee85b130a96163dbaacf4 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.0
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.1.tar.gz#md5=25f94f9b7c234e9209a30ea3b6ddb537 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.1
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.10.tar.gz#md5=37c25a8a71e096714d393982f2b837a5 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.10
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.11.tar.gz#md5=c8558373b8de50dc3fc1570a50229928 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.11
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.12.tar.gz#md5=2b247457ee7c7f7ec5068ad650ba99f2 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.12
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.13.tar.gz#md5=e99936ce96a73be02c9c93d6b7fed6be (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.13
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.14.tar.gz#md5=ab7803b7c57ae253bdd9f0b235af6502 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.14
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.15.tar.gz#md5=323b139d06ae05b2dd9ea49ea385351a (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.15
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.16.tar.gz#md5=d8f3d2df6fda7f381f55d60671935f5b (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.16
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.17.tar.gz#md5=0faf87567b6792e36d851714d9aab46b (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.17
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.18.tar.gz#md5=7a674e37dcae0036edc3f5524bae5be8 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.18
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.19.tar.gz#md5=304fa37ac0ea5f4fd0f37eb5f93b015a (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.19
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.2.tar.gz#md5=9a1f6c7b1c86b720a33ca2b46a0f01c1 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.2
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.20.tar.gz#md5=dc423231211efe9ea0c665d520b28240 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.20
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.21.tar.gz#md5=a592ca0cf311b0e4ee146948a0cb9400 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.21
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.22.tar.gz#md5=a2151d8c7f12d0b02b2af1b8a8706630 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.22
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.3.tar.gz#md5=6f29a66ba133b1366a49bbff2300b66c (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.3
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.4.tar.gz#md5=0aa5c21b8c6cca636fa21e0c0c773987 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.4
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.5.tar.gz#md5=918fb5e9493e5621d9bd507ce2ef369f (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.5
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.6.tar.gz#md5=1172cf77967f7eb78f9cd945f1954cbd (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.6
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.7.tar.gz#md5=6a0d34aa9fb3ebfb8cbaf9c8f94e1b6c (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.7
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.8.tar.gz#md5=8774bdea3e350e70b4f1efaa25c3681c (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.8
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.0.9.tar.gz#md5=b489d16404579214c7252efc3e38ffb1 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.0.9
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.1.0.tar.gz#md5=9e748d7bb79cd4dd0bb66557d1961b74 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.1.0
Found link https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.2.0.tar.gz#md5=16b847a6de699e05fb561c5c8b115881 (from https://pypi.python.org/simple/robotframework-appiumlibrary/), version: 1.2.0
Using version 1.2.0 (newest of versions: 1.2.0, 1.1.0, 1.0.22, 1.0.21, 1.0.20, 1.0.19, 1.0.18, 1.0.17, 1.0.16, 1.0.15, 1.0.14, 1.0.13, 1.0.12, 1.0.11, 1.0.10, 1.0.9, 1.0.8, 1.0.7, 1.0.6, 1.0.5, 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0)
Downloading robotframework-appiumlibrary-1.2.0.tar.gz
Downloading from URL https://pypi.python.org/packages/source/r/robotframework-appiumlibrary/robotframework-appiumlibrary-1.2.0.tar.gz#md5=16b847a6de699e05fb561c5c8b115881 (from https://pypi.python.org/simple/robotframework-appiumlibrary/)
Running setup.py (path:c:\users\hl\appdata\local\temp\pip_build_HL\robotframework-appiumlibrary\setup.py) egg_info for package robotframework-appiumlibrary
running egg_info
creating pip-egg-info\robotframework_appiumlibrary.egg-info
writing requirements to pip-egg-info\robotframework_appiumlibrary.egg-info\requires.txt
writing pip-egg-info\robotframework_appiumlibrary.egg-info\PKG-INFO
writing top-level names to pip-egg-info\robotframework_appiumlibrary.egg-info\top_level.txt
writing dependency_links to pip-egg-info\robotframework_appiumlibrary.egg-info\dependency_links.txt
writing manifest file 'pip-egg-info\robotframework_appiumlibrary.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\robotframework_appiumlibrary.egg-info\SOURCES.txt'
writing manifest file 'pip-egg-info\robotframework_appiumlibrary.egg-info\SOURCES.txt'
Source in c:\users\hl\appdata\local\temp\pip_build_hl\robotframework-appiumlibrary has version 1.2.0, which satisfies requirement robotframework-appiumlibrary
Requirement already satisfied (use --upgrade to upgrade): decorator>=3.3.2 in c:\python27\lib\site-packages (from robotframework-appiumlibrary)
Requirement already satisfied (use --upgrade to upgrade): robotframework>=2.6.0 in c:\python27\lib\site-packages (from robotframework-appiumlibrary)
Requirement already satisfied (use --upgrade to upgrade): docutils>=0.8.1 in c:\python27\lib\site-packages (from robotframework-appiumlibrary)
Requirement already satisfied (use --upgrade to upgrade): Appium-Python-Client>=0.5 in c:\python27\lib\site-packages (from robotframework-appiumlibrary)
Downloading/unpacking mock>=1.0.1 (from robotframework-appiumlibrary)
Getting page https://pypi.python.org/simple/mock/
URLs to search for versions for mock>=1.0.1 (from robotframework-appiumlibrary):
https://pypi.python.org/simple/mock/
Analyzing links from page https://pypi.python.org/simple/mock/
Skipping link https://pypi.python.org/packages/2.4/m/mock/mock-0.4.0-py2.4.egg#md5=e948e25b46f75d343a7fcdf24a36005c (from https://pypi.python.org/simple/mock/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.5/m/mock/mock-0.4.0-py2.5.egg#md5=147f343ce516b6429883416cc5ffa7cd (from https://pypi.python.org/simple/mock/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.6/m/mock/mock-0.4.0-py2.6.egg#md5=7e7ca9c58532bd5807c4a071336f28d0 (from https://pypi.python.org/simple/mock/); unknown archive format: .egg
Found link https://pypi.python.org/packages/source/m/mock/mock-0.5.0.tar.gz#md5=329fafdc91c83eab608ca80c8bb490f9 (from https://pypi.python.org/simple/mock/), version: 0.5.0
Found link https://pypi.python.org/packages/source/m/mock/mock-0.6.0.tar.gz#md5=a52c791ebd454a196e1e57b43b493191 (from https://pypi.python.org/simple/mock/), version: 0.6.0
Found link https://pypi.python.org/packages/source/m/mock/mock-0.6.0.zip#md5=9d283cce6bd3c65f18ca617955298238 (from https://pypi.python.org/simple/mock/), version: 0.6.0
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0.tar.gz#md5=be029f8c963c55250a452c400e10cf42 (from https://pypi.python.org/simple/mock/), version: 0.7.0
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0.zip#md5=d1431fb57c557707039db1f59083acfc (from https://pypi.python.org/simple/mock/), version: 0.7.0
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b1.tar.gz#md5=a21ba6804db7e30c7b5dc7025f72abac (from https://pypi.python.org/simple/mock/), version: 0.7.0b1
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b1.zip#md5=ba5124c632e0394a6e9ec25d681fd374 (from https://pypi.python.org/simple/mock/), version: 0.7.0b1
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b2.tar.gz#md5=a411b39ef90120a4992a5d5dfdd0a52d (from https://pypi.python.org/simple/mock/), version: 0.7.0b2
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b2.zip#md5=e83f8af34d80e0491c19789aa9925267 (from https://pypi.python.org/simple/mock/), version: 0.7.0b2
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b3.tar.gz#md5=2799e896f528f5cecec8cc55a5d5da21 (from https://pypi.python.org/simple/mock/), version: 0.7.0b3
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b3.zip#md5=af4a1053a9ad7e935ff86d1de9d1042c (from https://pypi.python.org/simple/mock/), version: 0.7.0b3
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b4.tar.gz#md5=12af216898f08f85963139efe5d9582b (from https://pypi.python.org/simple/mock/), version: 0.7.0b4
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b4.zip#md5=0d85979ef556456aaf5a0766a2152831 (from https://pypi.python.org/simple/mock/), version: 0.7.0b4
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0rc1.tar.gz#md5=cb4f34459e45607b75a304bde6353ac3 (from https://pypi.python.org/simple/mock/), version: 0.7.0rc1
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.0rc1.zip#md5=84b71a6ce1e328e27fc4bdc37afd8029 (from https://pypi.python.org/simple/mock/), version: 0.7.0rc1
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.1.tar.gz#md5=fe6a72d963b740ffa959b4746cf96be0 (from https://pypi.python.org/simple/mock/), version: 0.7.1
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.1.zip#md5=31382f58aa4f064c366a620d70a8b2a0 (from https://pypi.python.org/simple/mock/), version: 0.7.1
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.2.tar.gz#md5=0e63747b20e67f7d3e563bc6fd5b88d3 (from https://pypi.python.org/simple/mock/), version: 0.7.2
Found link https://pypi.python.org/packages/source/m/mock/mock-0.7.2.zip#md5=8a22e3748bc50667ef27536ff1a5cf8d (from https://pypi.python.org/simple/mock/), version: 0.7.2
Found link https://pypi.python.org/packages/source/m/mock/mock-0.8.0.tar.gz#md5=b1ac87a1ceab295aef11dcfc104a7a4a (from https://pypi.python.org/simple/mock/), version: 0.8.0
Found link https://pypi.python.org/packages/source/m/mock/mock-0.8.0.zip#md5=7dba423ce7994c433f6b84b101f1f4ba (from https://pypi.python.org/simple/mock/), version: 0.8.0
Found link https://pypi.python.org/packages/source/m/mock/mock-1.0.0.tar.gz#md5=52642ad23c7a5202b33cb0234837676e (from https://pypi.python.org/simple/mock/), version: 1.0.0
Found link https://pypi.python.org/packages/source/m/mock/mock-1.0.0.zip#md5=4d2affbef8d628c27ea952bba5c556de (from https://pypi.python.org/simple/mock/), version: 1.0.0
Found link https://pypi.python.org/packages/source/m/mock/mock-1.0.1.tar.gz#md5=c3971991738caa55ec7c356bbc154ee2 (from https://pypi.python.org/simple/mock/), version: 1.0.1
Found link https://pypi.python.org/packages/source/m/mock/mock-1.0.1.zip#md5=869f08d003c289a97c1a6610faf5e913 (from https://pypi.python.org/simple/mock/), version: 1.0.1
Found link https://pypi.python.org/packages/source/m/mock/mock-1.0b1.tar.gz#md5=bf7e9acc7215eeb805bef1d77864e5f2 (from https://pypi.python.org/simple/mock/), version: 1.0b1
Found link https://pypi.python.org/packages/source/m/mock/mock-1.0b1.zip#md5=93495a8376e8fc9a3f6cb36524ebe15b (from https://pypi.python.org/simple/mock/), version: 1.0b1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.5.0.tar.gz#md5=329fafdc91c83eab608ca80c8bb490f9 (from https://pypi.python.org/simple/mock/), version 0.5.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.6.0.tar.gz#md5=a52c791ebd454a196e1e57b43b493191 (from https://pypi.python.org/simple/mock/), version 0.6.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.6.0.zip#md5=9d283cce6bd3c65f18ca617955298238 (from https://pypi.python.org/simple/mock/), version 0.6.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0.tar.gz#md5=be029f8c963c55250a452c400e10cf42 (from https://pypi.python.org/simple/mock/), version 0.7.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0.zip#md5=d1431fb57c557707039db1f59083acfc (from https://pypi.python.org/simple/mock/), version 0.7.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b1.tar.gz#md5=a21ba6804db7e30c7b5dc7025f72abac (from https://pypi.python.org/simple/mock/), version 0.7.0b1 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b1.zip#md5=ba5124c632e0394a6e9ec25d681fd374 (from https://pypi.python.org/simple/mock/), version 0.7.0b1 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b2.tar.gz#md5=a411b39ef90120a4992a5d5dfdd0a52d (from https://pypi.python.org/simple/mock/), version 0.7.0b2 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b2.zip#md5=e83f8af34d80e0491c19789aa9925267 (from https://pypi.python.org/simple/mock/), version 0.7.0b2 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b3.tar.gz#md5=2799e896f528f5cecec8cc55a5d5da21 (from https://pypi.python.org/simple/mock/), version 0.7.0b3 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b3.zip#md5=af4a1053a9ad7e935ff86d1de9d1042c (from https://pypi.python.org/simple/mock/), version 0.7.0b3 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b4.tar.gz#md5=12af216898f08f85963139efe5d9582b (from https://pypi.python.org/simple/mock/), version 0.7.0b4 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0b4.zip#md5=0d85979ef556456aaf5a0766a2152831 (from https://pypi.python.org/simple/mock/), version 0.7.0b4 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0rc1.tar.gz#md5=cb4f34459e45607b75a304bde6353ac3 (from https://pypi.python.org/simple/mock/), version 0.7.0rc1 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.0rc1.zip#md5=84b71a6ce1e328e27fc4bdc37afd8029 (from https://pypi.python.org/simple/mock/), version 0.7.0rc1 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.1.tar.gz#md5=fe6a72d963b740ffa959b4746cf96be0 (from https://pypi.python.org/simple/mock/), version 0.7.1 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.1.zip#md5=31382f58aa4f064c366a620d70a8b2a0 (from https://pypi.python.org/simple/mock/), version 0.7.1 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.2.tar.gz#md5=0e63747b20e67f7d3e563bc6fd5b88d3 (from https://pypi.python.org/simple/mock/), version 0.7.2 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.7.2.zip#md5=8a22e3748bc50667ef27536ff1a5cf8d (from https://pypi.python.org/simple/mock/), version 0.7.2 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.8.0.tar.gz#md5=b1ac87a1ceab295aef11dcfc104a7a4a (from https://pypi.python.org/simple/mock/), version 0.8.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-0.8.0.zip#md5=7dba423ce7994c433f6b84b101f1f4ba (from https://pypi.python.org/simple/mock/), version 0.8.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-1.0.0.tar.gz#md5=52642ad23c7a5202b33cb0234837676e (from https://pypi.python.org/simple/mock/), version 1.0.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-1.0.0.zip#md5=4d2affbef8d628c27ea952bba5c556de (from https://pypi.python.org/simple/mock/), version 1.0.0 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-1.0b1.tar.gz#md5=bf7e9acc7215eeb805bef1d77864e5f2 (from https://pypi.python.org/simple/mock/), version 1.0b1 doesn't match >=1.0.1
Ignoring link https://pypi.python.org/packages/source/m/mock/mock-1.0b1.zip#md5=93495a8376e8fc9a3f6cb36524ebe15b (from https://pypi.python.org/simple/mock/), version 1.0b1 doesn't match >=1.0.1
Using version 1.0.1 (newest of versions: 1.0.1, 1.0.1)
Downloading from URL https://pypi.python.org/packages/source/m/mock/mock-1.0.1.tar.gz#md5=c3971991738caa55ec7c356bbc154ee2 (from https://pypi.python.org/simple/mock/)
Running setup.py (path:c:\users\hl\appdata\local\temp\pip_build_HL\mock\setup.py) egg_info for package mock
running egg_info
creating pip-egg-info\mock.egg-info
writing pip-egg-info\mock.egg-info\PKG-INFO
writing top-level names to pip-egg-info\mock.egg-info\top_level.txt
writing dependency_links to pip-egg-info\mock.egg-info\dependency_links.txt
writing manifest file 'pip-egg-info\mock.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\mock.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.png' under directory 'docs'
warning: no files found matching '.css' under directory 'docs'
warning: no files found matching '.html' under directory 'docs'
warning: no files found matching '.js' under directory 'docs'
writing manifest file 'pip-egg-info\mock.egg-info\SOURCES.txt'
Source in c:\users\hl\appdata\local\temp\pip_build_hl\mock has version 1.0.1, which satisfies requirement mock>=1.0.1 (from robotframework-appiumlibrary)
Downloading/unpacking pytest-cov>=1.8.1 (from robotframework-appiumlibrary)
Getting page https://pypi.python.org/simple/pytest-cov/
URLs to search for versions for pytest-cov>=1.8.1 (from robotframework-appiumlibrary):
https://pypi.python.org/simple/pytest-cov/
Analyzing links from page https://pypi.python.org/simple/pytest-cov/
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.10.tar.gz#md5=6ef5fb2fa86e38303e73a42863f4a744 (from https://pypi.python.org/simple/pytest-cov/), version: 0.10
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.11.tar.gz#md5=cad5f6a53aa8baba5a5a50e297d28cd2 (from https://pypi.python.org/simple/pytest-cov/), version: 0.11
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.12.tar.gz#md5=e2b6dc0dc8fdd9fdec8f99632118e9cf (from https://pypi.python.org/simple/pytest-cov/), version: 0.12
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.13.tar.gz#md5=8c3673a0df8189ee7d0f7da92238ff09 (from https://pypi.python.org/simple/pytest-cov/), version: 0.13
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.14.tar.gz#md5=0ec2c99a70948d810ae49eedb2f0fd54 (from https://pypi.python.org/simple/pytest-cov/), version: 0.14
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.15.tar.gz#md5=1c09cb7d7e8f2042984911f7c19419c5 (from https://pypi.python.org/simple/pytest-cov/), version: 0.15
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.6.tar.gz#md5=e7a947624308b6ddb015b2fce9807915 (from https://pypi.python.org/simple/pytest-cov/), version: 0.6
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.7.tar.gz#md5=51f7ffdfb37cd5a9a01edc9f319d9ed3 (from https://pypi.python.org/simple/pytest-cov/), version: 0.7
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.8.tar.gz#md5=e168a6351863901940dc4a20fcb5351b (from https://pypi.python.org/simple/pytest-cov/), version: 0.8
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.9.tar.gz#md5=373d3946c2757d59b80b98143fd0ea7c (from https://pypi.python.org/simple/pytest-cov/), version: 0.9
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.0.tar.gz#md5=c09f274a7bbd0d7fac220377e6bfd0db (from https://pypi.python.org/simple/pytest-cov/), version: 1.0
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.1.tar.gz#md5=28fb29184597f72cf3ca0e37009376f1 (from https://pypi.python.org/simple/pytest-cov/), version: 1.1
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.2.tar.gz#md5=95d22f6ff9c91017dda68c5663e89cdc (from https://pypi.python.org/simple/pytest-cov/), version: 1.2
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.3.tar.gz#md5=7d157e2ad25189cd6f6a6da2cb3154f1 (from https://pypi.python.org/simple/pytest-cov/), version: 1.3
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.4.tar.gz#md5=97b67dc6f5144278f251a5d12392b8ba (from https://pypi.python.org/simple/pytest-cov/), version: 1.4
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.5.tar.gz#md5=6930f866cf666987a9fbcc47433be735 (from https://pypi.python.org/simple/pytest-cov/), version: 1.5
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.6.tar.gz#md5=6da54d74bde9d200de45068ba2ea637a (from https://pypi.python.org/simple/pytest-cov/), version: 1.6
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.7.0.tar.gz#md5=c1432814f2e19ed86b563efa374b23a1 (from https://pypi.python.org/simple/pytest-cov/), version: 1.7.0
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.8.0.tar.gz#md5=b9bfa95145c019a109987ab3835c7a97 (from https://pypi.python.org/simple/pytest-cov/), version: 1.8.0
Found link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.8.1.tar.gz#md5=76c778afa2494088270348be42d759fc (from https://pypi.python.org/simple/pytest-cov/), version: 1.8.1
Skipping link http://bitbucket.org/hpk42/py-trunk/downloads/ (from https://pypi.python.org/simple/pytest-cov/); not a file
Skipping link http://bitbucket.org/hpk42/pytest-xdist/downloads/ (from https://pypi.python.org/simple/pytest-cov/); not a file
Skipping link http://nedbatchelder.com/code/coverage/config.html (from https://pypi.python.org/simple/pytest-cov/); unknown archive format: .html
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.10.tar.gz#md5=6ef5fb2fa86e38303e73a42863f4a744 (from https://pypi.python.org/simple/pytest-cov/), version 0.10 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.11.tar.gz#md5=cad5f6a53aa8baba5a5a50e297d28cd2 (from https://pypi.python.org/simple/pytest-cov/), version 0.11 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.12.tar.gz#md5=e2b6dc0dc8fdd9fdec8f99632118e9cf (from https://pypi.python.org/simple/pytest-cov/), version 0.12 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.13.tar.gz#md5=8c3673a0df8189ee7d0f7da92238ff09 (from https://pypi.python.org/simple/pytest-cov/), version 0.13 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.14.tar.gz#md5=0ec2c99a70948d810ae49eedb2f0fd54 (from https://pypi.python.org/simple/pytest-cov/), version 0.14 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.15.tar.gz#md5=1c09cb7d7e8f2042984911f7c19419c5 (from https://pypi.python.org/simple/pytest-cov/), version 0.15 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.6.tar.gz#md5=e7a947624308b6ddb015b2fce9807915 (from https://pypi.python.org/simple/pytest-cov/), version 0.6 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.7.tar.gz#md5=51f7ffdfb37cd5a9a01edc9f319d9ed3 (from https://pypi.python.org/simple/pytest-cov/), version 0.7 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.8.tar.gz#md5=e168a6351863901940dc4a20fcb5351b (from https://pypi.python.org/simple/pytest-cov/), version 0.8 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-0.9.tar.gz#md5=373d3946c2757d59b80b98143fd0ea7c (from https://pypi.python.org/simple/pytest-cov/), version 0.9 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.0.tar.gz#md5=c09f274a7bbd0d7fac220377e6bfd0db (from https://pypi.python.org/simple/pytest-cov/), version 1.0 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.1.tar.gz#md5=28fb29184597f72cf3ca0e37009376f1 (from https://pypi.python.org/simple/pytest-cov/), version 1.1 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.2.tar.gz#md5=95d22f6ff9c91017dda68c5663e89cdc (from https://pypi.python.org/simple/pytest-cov/), version 1.2 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.3.tar.gz#md5=7d157e2ad25189cd6f6a6da2cb3154f1 (from https://pypi.python.org/simple/pytest-cov/), version 1.3 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.4.tar.gz#md5=97b67dc6f5144278f251a5d12392b8ba (from https://pypi.python.org/simple/pytest-cov/), version 1.4 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.5.tar.gz#md5=6930f866cf666987a9fbcc47433be735 (from https://pypi.python.org/simple/pytest-cov/), version 1.5 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.6.tar.gz#md5=6da54d74bde9d200de45068ba2ea637a (from https://pypi.python.org/simple/pytest-cov/), version 1.6 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.7.0.tar.gz#md5=c1432814f2e19ed86b563efa374b23a1 (from https://pypi.python.org/simple/pytest-cov/), version 1.7.0 doesn't match >=1.8.1
Ignoring link https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.8.0.tar.gz#md5=b9bfa95145c019a109987ab3835c7a97 (from https://pypi.python.org/simple/pytest-cov/), version 1.8.0 doesn't match >=1.8.1
Downloading pytest-cov-1.8.1.tar.gz
Downloading from URL https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-1.8.1.tar.gz#md5=76c778afa2494088270348be42d759fc (from https://pypi.python.org/simple/pytest-cov/)
Running setup.py (path:c:\users\hl\appdata\local\temp\pip_build_HL\pytest-cov\setup.py) egg_info for package pytest-cov
running egg_info
creating pip-egg-info\pytest_cov.egg-info
writing requirements to pip-egg-info\pytest_cov.egg-info\requires.txt
writing pip-egg-info\pytest_cov.egg-info\PKG-INFO
writing top-level names to pip-egg-info\pytest_cov.egg-info\top_level.txt
writing dependency_links to pip-egg-info\pytest_cov.egg-info\dependency_links.txt
writing entry points to pip-egg-info\pytest_cov.egg-info\entry_points.txt
writing manifest file 'pip-egg-info\pytest_cov.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\pytest_cov.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info\pytest_cov.egg-info\SOURCES.txt'
Source in c:\users\hl\appdata\local\temp\pip_build_hl\pytest-cov has version 1.8.1, which satisfies requirement pytest-cov>=1.8.1 (from robotframework-appiumlibrary)
Downloading/unpacking pytest-xdist>=1.11 (from robotframework-appiumlibrary)
Getting page https://pypi.python.org/simple/pytest-xdist/
URLs to search for versions for pytest-xdist>=1.11 (from robotframework-appiumlibrary):
https://pypi.python.org/simple/pytest-xdist/
Analyzing links from page https://pypi.python.org/simple/pytest-xdist/
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.0.tar.gz#md5=56755f2012f9bdd6707cd9cfcd04690e (from https://pypi.python.org/simple/pytest-xdist/), version: 1.0
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.1.tar.gz#md5=2bff0a12c9469cb6fe32e25e879090ad (from https://pypi.python.org/simple/pytest-xdist/), version: 1.1
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.10.tar.gz#md5=9bb894aa76d5871f74eac793f59e15a9 (from https://pypi.python.org/simple/pytest-xdist/), version: 1.10
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.11.tar.gz#md5=89f1aff4ff2f1c4bbda1cbbd0f1b8da4 (from https://pypi.python.org/simple/pytest-xdist/), version: 1.11
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.2.tar.gz#md5=ad827fadbde9c308e898dcea079d327b (from https://pypi.python.org/simple/pytest-xdist/), version: 1.2
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.3.tar.gz#md5=ce62e01ae3ec9a5ab38eb1e003c4128a (from https://pypi.python.org/simple/pytest-xdist/), version: 1.3
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.4.tar.gz#md5=324c752c69d4a57cfb9337df2db34c23 (from https://pypi.python.org/simple/pytest-xdist/), version: 1.4
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.5.zip#md5=c32ab78b2c134b7f8d3f5e578b1523a0 (from https://pypi.python.org/simple/pytest-xdist/), version: 1.5
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.6.zip#md5=5f92becc78047ea7f5cc20ad2b6866e4 (from https://pypi.python.org/simple/pytest-xdist/), version: 1.6
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.7.dev1.zip#md5=2a2b346df6c6ca982afada4a2e8de4ff (from https://pypi.python.org/simple/pytest-xdist/), version: 1.7.dev1
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.7.zip#md5=0ba8f04ba2e5d5197ad79fed690f695a (from https://pypi.python.org/simple/pytest-xdist/), version: 1.7
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.8.zip#md5=9c0b8efe9d43b460f8cf049fa46ce14d (from https://pypi.python.org/simple/pytest-xdist/), version: 1.8
Found link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.9.tar.gz#md5=1207c58e7d9e51de13cde1dd1c206afb (from https://pypi.python.org/simple/pytest-xdist/), version: 1.9
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.0.tar.gz#md5=56755f2012f9bdd6707cd9cfcd04690e (from https://pypi.python.org/simple/pytest-xdist/), version 1.0 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.1.tar.gz#md5=2bff0a12c9469cb6fe32e25e879090ad (from https://pypi.python.org/simple/pytest-xdist/), version 1.1 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.10.tar.gz#md5=9bb894aa76d5871f74eac793f59e15a9 (from https://pypi.python.org/simple/pytest-xdist/), version 1.10 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.2.tar.gz#md5=ad827fadbde9c308e898dcea079d327b (from https://pypi.python.org/simple/pytest-xdist/), version 1.2 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.3.tar.gz#md5=ce62e01ae3ec9a5ab38eb1e003c4128a (from https://pypi.python.org/simple/pytest-xdist/), version 1.3 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.4.tar.gz#md5=324c752c69d4a57cfb9337df2db34c23 (from https://pypi.python.org/simple/pytest-xdist/), version 1.4 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.5.zip#md5=c32ab78b2c134b7f8d3f5e578b1523a0 (from https://pypi.python.org/simple/pytest-xdist/), version 1.5 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.6.zip#md5=5f92becc78047ea7f5cc20ad2b6866e4 (from https://pypi.python.org/simple/pytest-xdist/), version 1.6 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.7.dev1.zip#md5=2a2b346df6c6ca982afada4a2e8de4ff (from https://pypi.python.org/simple/pytest-xdist/), version 1.7.dev1 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.7.zip#md5=0ba8f04ba2e5d5197ad79fed690f695a (from https://pypi.python.org/simple/pytest-xdist/), version 1.7 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.8.zip#md5=9c0b8efe9d43b460f8cf049fa46ce14d (from https://pypi.python.org/simple/pytest-xdist/), version 1.8 doesn't match >=1.11
Ignoring link https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.9.tar.gz#md5=1207c58e7d9e51de13cde1dd1c206afb (from https://pypi.python.org/simple/pytest-xdist/), version 1.9 doesn't match >=1.11
Downloading pytest-xdist-1.11.tar.gz
Downloading from URL https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.11.tar.gz#md5=89f1aff4ff2f1c4bbda1cbbd0f1b8da4 (from https://pypi.python.org/simple/pytest-xdist/)
Running setup.py (path:c:\users\hl\appdata\local\temp\pip_build_HL\pytest-xdist\setup.py) egg_info for package pytest-xdist
running egg_info
creating pip-egg-info\pytest_xdist.egg-info
writing requirements to pip-egg-info\pytest_xdist.egg-info\requires.txt
writing pip-egg-info\pytest_xdist.egg-info\PKG-INFO
writing top-level names to pip-egg-info\pytest_xdist.egg-info\top_level.txt
writing dependency_links to pip-egg-info\pytest_xdist.egg-info\dependency_links.txt
writing entry points to pip-egg-info\pytest_xdist.egg-info\entry_points.txt
writing manifest file 'pip-egg-info\pytest_xdist.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\pytest_xdist.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching '.hg'
writing manifest file 'pip-egg-info\pytest_xdist.egg-info\SOURCES.txt'
Source in c:\users\hl\appdata\local\temp\pip_build_hl\pytest-xdist has version 1.11, which satisfies requirement pytest-xdist>=1.11 (from robotframework-appiumlibrary)
Downloading/unpacking pytest-pythonpath>=0.4 (from robotframework-appiumlibrary)
Getting page https://pypi.python.org/simple/pytest-pythonpath/
URLs to search for versions for pytest-pythonpath>=0.4 (from robotframework-appiumlibrary):
https://pypi.python.org/simple/pytest-pythonpath/
Analyzing links from page https://pypi.python.org/simple/pytest-pythonpath/
Found link https://pypi.python.org/packages/source/p/pytest-pythonpath/pytest-pythonpath-0.1.tar.gz#md5=4d2596a4336f2a078523edf5c3639c3c (from https://pypi.python.org/simple/pytest-pythonpath/), version: 0.1
Found link https://pypi.python.org/packages/source/p/pytest-pythonpath/pytest-pythonpath-0.2.tar.gz#md5=3b2619d224922a8c7d683c2dfccba859 (from https://pypi.python.org/simple/pytest-pythonpath/), version: 0.2
Found link https://pypi.python.org/packages/source/p/pytest-pythonpath/pytest-pythonpath-0.3.tar.gz#md5=2b349b281770e3ff1751080f54a7224a (from https://pypi.python.org/simple/pytest-pythonpath/), version: 0.3
Ignoring link https://pypi.python.org/packages/source/p/pytest-pythonpath/pytest-pythonpath-0.1.tar.gz#md5=4d2596a4336f2a078523edf5c3639c3c (from https://pypi.python.org/simple/pytest-pythonpath/), version 0.1 doesn't match >=0.4
Ignoring link https://pypi.python.org/packages/source/p/pytest-pythonpath/pytest-pythonpath-0.2.tar.gz#md5=3b2619d224922a8c7d683c2dfccba859 (from https://pypi.python.org/simple/pytest-pythonpath/), version 0.2 doesn't match >=0.4
Ignoring link https://pypi.python.org/packages/source/p/pytest-pythonpath/pytest-pythonpath-0.3.tar.gz#md5=2b349b281770e3ff1751080f54a7224a (from https://pypi.python.org/simple/pytest-pythonpath/), version 0.3 doesn't match >=0.4
Could not find a version that satisfies the requirement pytest-pythonpath>=0.4 (from robotframework-appiumlibrary) (from versions: 0.1, 0.2, 0.3)
Cleaning up...
Removing temporary dir c:\users\hl\appdata\local\temp\pip_build_HL...
No distributions matching the version for pytest-pythonpath>=0.4 (from robotframework-appiumlibrary)
Exception information:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip\commands\install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Python27\lib\site-packages\pip\req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "C:\Python27\lib\site-packages\pip\index.py", line 322, in find_requirement
raise DistributionNotFound('No distributions matching the version for %s' % req)
DistributionNotFound: No distributions matching the version for pytest-pythonpath>=0.4 (from robotframework-appiumlibrary)
The test can run sccess on robotframework-appiumlibrary (1.0.22), but upgrade appiumlibrary to 1.2.0. then error:
==============================================================================
Open App | FAIL |
Keyword 'AppiumLibrary.Open Application' expected 1 to 2 non-keyword arguments,
got 5.
------------------------------------------------------------------------------
Test Script:
*** Settings ***
Library AppiumLibrary
*** Variables ***
${REMOTE_URL} http://localhost:4723/wd/hub
${PLATFORM_NAME} Android
${PLATFORM_VERSION} 4.4.2
${DEVICE_NAME} emulator-5554
${APP} D:/asas.apk
*** Test Cases ***
Open App
Open Application ${REMOTE_URL} ${PLATFORM_NAME} ${PLATFORM_VERSION} ${DEVICE_NAME} ${APP}
Sleep 10s
App does not have a keyword for backgrounding app
Noticing below error in my Mac machine running OSX 10.9. Both setuptools & ez_setup package is installed
error: invalid command 'bdist_egg'
/private/var/folders/xz/j9r51m2j0z96s__wj_mv5cb40000gn/T/pycharm-packaging0.tmp/robotframework-appiumlibrary/distribute-0.6.14-py3.4.egg
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/ez_setup.py", line 143, in use_setuptools
raise ImportError
ImportError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/private/var/folders/xz/j9r51m2j0z96s__wj_mv5cb40000gn/T/pycharm-packaging0.tmp/robotframework-appiumlibrary/setup.py", line 8, in <module>
use_setuptools()
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/ez_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/ez_setup.py", line 125, in _do_download
_build_egg(egg, tarball, to_dir)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/ez_setup.py", line 116, in _build_egg
raise IOError('Could not build the egg.')
OSError: Could not build the egg.
Hello,
I find your library very useful.
I found that it is base on Appium Python Client, and just found out that Appium Python Client has some function to switch between native and webview context.
Would it be possible in a future release to have a "Switch To Context" and a "Get context" keywords, in the library ?
Thank you very much,
and congratulations for your hard work.
Page should contain element
fails always with an AttributeError: 'module' object has no attribute 'escape_xpath_value'
error
20150305 19:46:57.047 - INFO - +----- START KW: AppiumLibrary.Page Should Contain Element [ com.android.contacts:id/digits ] 20150305 19:46:57.725 - FAIL - AttributeError: 'module' object has no attribute 'escape_xpath_value' 20150305 19:46:57.725 - DEBUG - Traceback (most recent call last): File "", line 2, in page_should_contain_element File "C:\Python27\lib\site-packages\robotframework_appiumlibrary-1.2.4-py2.7.egg\AppiumLibrary\keywords\keywordgroup.py", line 14, in _run_on_failure_decorator return method(*args, **kwargs) File "C:\Python27\lib\site-packages\robotframework_appiumlibrary-1.2.4-py2.7.egg\AppiumLibrary\keywords\_element.py", line 112, in page_should_contain_element if not self._is_element_present(locator): File "C:\Python27\lib\site-packages\robotframework_appiumlibrary-1.2.4-py2.7.egg\AppiumLibrary\keywords\_element.py", line 272, in _is_element_present elements = self._element_finder.find(application, locator, None) File "C:\Python27\lib\site-packages\robotframework_appiumlibrary-1.2.4-py2.7.egg\AppiumLibrary\locators\elementfinder.py", line 28, in find return strategy(browser, criteria, tag, constraints) File "C:\Python27\lib\site-packages\robotframework_appiumlibrary-1.2.4-py2.7.egg\AppiumLibrary\locators\elementfinder.py", line 94, in _find_by_default return self._find_by_key_attrs(browser, criteria, tag, constraints) File "C:\Python27\lib\site-packages\robotframework_appiumlibrary-1.2.4-py2.7.egg\AppiumLibrary\locators\elementfinder.py", line 101, in _find_by_key_attrs xpath_criteria = utils.escape_xpath_value(criteria) 20150305 19:46:57.725 - INFO - +----- END KW: AppiumLibrary.Page Should Contain Element (678)
I got stuck when running testing here:
[ ERROR ] Error in file '/Users/vunguyen/automation/customclient/libs/keywordsLib/customAppKeywords.txt': Importing test library '/Users/vunguyen/automation/customclient/tools/AppiumLibrary' failed: ValueError: Expecting , delimiter: line 171 column 5 (char 4660)
Traceback (most recent call last):
File "/Users/vunguyen/automation/customclient/tools/AppiumLibrary/init.py", line 4, in
from keywords import *
File "/Users/vunguyen/automation/customclient/tools/AppiumLibrary/keywords/init.py", line 11, in
from _account import _AccountKeywords
File "/Users/vunguyen/automation/customclient/tools/AppiumLibrary/keywords/_account.py", line 14, in
from base import base
File "/Users/vunguyen/automation/customclient/libs/pyLib/base.py", line 15, in
from GlobalVariables import *
File "/Users/vunguyen/automation/customclient/libs/pyLib/GlobalVariables.py", line 88, in
device_platform,device_port =get_json_file()
File "/Users/vunguyen/automation/customclient/libs/pyLib/GlobalVariables.py", line 79, in get_json_file
dev_info = json.load(json_file)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 290, in load
**kw)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
PYTHONPATH:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/robot/libraries
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/Library/Frameworks/Python.framework/Versions/2.7/bin
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/robotframework_appiumlibrary-1.2.5-py2.7.egg
/Users/vunguyen/automation/customclient/tools/AppiumLibrary
/Users/vunguyen/automation/customclient/tools/AppiumLibrary/keywords
/Users/vunguyen/automation/customclient/tools/AppiumLibrary/locators
/Users/vunguyen/automation/customclient/tools/AppiumLibrary/utils
/Users/vunguyen/automation/customclient/libs/keywordsLib
/Users/vunguyen/automation/customclient/libs/pyLib
/Users/vunguyen/automation/customclient/libs/testSuites
/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/Library/Python/2.7/site-packages
I have executed below code on same device with UDID as 039d220c43819f72. In code I have opened two applications on different port and both applications are opened successfully. But when i switch application from 2->1 or 1>2 using 'Switch Application' keyword then application is not switched. Can anyone please suggest any way to resolve this issue.
${appium2} Open Application http://127.0.0.1:4755/wd/hub platformName=Android platformVersion=4.4.2 deviceName=Nexus5 automationName=appium udid=039d220c43819f72 appPackage=com.whatsapp appActivity=com.whatsapp.Main
${appium1} Open Application http://127.0.0.1:4723/wd/hub platformName=Android platformVersion=5.1.1 deviceName=Nexus5 automationName=appium udid=039d220c43819f72 appPackage=com.android.calculator2 appActivity=com.android.calculator2.Calculator
Capture Page Screenshot
Switch Application ${appium2}
Click Element id=com.whatsapp:id/menuitem_search
Switch Application ${appium1}
Hi jollychang,
I'm currently writing my first test case for an Android app by using your Appium library.
Unfortunately I'm experiencing some problems with the Page Should Contain Element keyword. It will only pass, if I add a Sleep 1s keyword before the assertion, because only then the app has finished with drawing the screen and only then the desired element is available.
To circumvent the additional Sleep keyword, I guess the Appium Python library provides the implicitly_wait functionality. Please could you add that feature to your library so it can be used within the Robotframework?
Thanks
Ben
Scroll function is pretty awesome when all elements are present in view , and when they are not my problem begins.
AppiumLibrary.Scroll name=!, name=ForATTests
Documentation:
Scrolls from one element to another
Start / End / Elapsed: 20140806 13:34:26.299 / 20140806 13:34:32.455 / 00:00:06.156
13:34:32.455 FAIL WebDriverException: Message: u'An error occurred while executing user supplied JavaScript.'
debug: [INST] 2014-08-06 10:34:32 +0000 Debug: Running system command #95: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":17,"value":"point is not within the bounds of the screen"}...
I have next situation : i try to scroll list of files and folders on public ftp server, elements over there pretty dynamic , and only folder that i know is the one that i made before myself. So how can i scroll my app to my folder on a big ftp server with frequent updates ?
Importing
section of the documentation and the Register Keyword To Run On Failure
method description use Nothing
to run no keywords on failure.
But when I use Nothing
I keep getting no such keyword errors
--> I'm now using No Operation
instead, which is not exactly the same thing
Nothing
I would expect that no Keyword is calledNo Operation
a Keyword that does nothing is calledThe Keyword documentation for Wait Until Page Contains
states:
"...See also Wait Until Page Contains Element
, Wait For Condition
,Wait Until Element Is Visible
..."
What's behind this statement?
Wait Until Page Contains Element
?Wait Until Page Contains Element
?Wait Until Page Contains Element
?I want to execute JavaScript for various action get text value, swipe, scroll. So is it possible to have keyword like 'Execute JavaScript'.
Also there is no keyword existing for getting text value of element because I want fetch text value of element.
eg:
execute_script("mobile: swipe", {"startX": 0.9, "startY": 0.9, "endX": 0.9, "endY": 0.9, "endY": 3.0})
So I start my node.js appium application from the command line, and I am passing in these server arguments (I have a little run_appium.sh startup bash script):
#!/bin/bash
appium --address 127.0.0.1
--platform-name iOS \
--platform-version 7.1.1 \
--device-name "iPhone 5s" \
--udid b310634414abe73501a0fcb361b4455f7c1a312f \
--app <my_bundle_id>
But I also then need to, say in a resources.robot file, give my Open Application keyword the same values:
** Variables ***
${REMOTE_URL} http://localhost:4723/wd/hub
${PLATFORM_NAME} iOS
${PLATFORM_VERSION} 7.1.1
${DEVICE_NAME} iPhone 5s
${APP} <my_bundle_id>
${UDID} b310634414abe73501a0fcb361b4455f7c1a312f
*** Keywords ***
TestStart
[Documentation] just demo
Open Application ${REMOTE_URL} ${PLATFORM_NAME} ${PLATFORM_VERSION} ${DEVICE_NAME} ${APP} ${UDID}
Why do I need to have these settings in both places?
This more a question than an issue:
Let's take an example test scenario: a messaging application with two devices:
step-1: type "hello world" in device-A.
step-2: verify in device-B that "hello world" is displayed.
Questions:
thanks in advance
When element should be disabled or element should be enabled fails it does not log the error. Instead it states global name loglevel is not defined.
The reason is its missing loglevel. It appears as def element_should_be_disabled(self, locator):
it should be def element_should_be_disabled(self, locator, loglevel='INFO')
Same for enabled keyword.
The new argument new_command_timeout
in Open Application
should have a default value of None
.
With the current default value =60
it is not possible to use the appium command line option --command-timeout
anymore. I.e. starting appium with --command-timeout 120
has no effect, because the appium library always overrides the that 120 seconds with 60 seconds.
(and the default on appium side is anyway already 60secs i.e. starting appium without --command-timeout
)
In Short:
instead of new_command_timeout=60
it should be new_command_timeout=None
and send it to appium only when provided
if new_command_timeout: desired_caps['newCommandTimeout'] = new_command_timeout
An enhancement idea: I think it would be good to have possibility to replace a text in a text field with one keyword.
I.e. instead of
Clear Text identifier = com.me.myApp:id/textField Input Text identifier = com.me.myApp:id/textField ExampleText
do just
Input Text identifier = com.me.myApp:id/textField ExampleText replace=True
Replace Text identifier = com.me.myApp:id/textField ExampleText
What do you think? Should I create a PR for this?
If yes, which option? I'd prefer 1)
One Keyword would make the execution faster and there already different methods for this on Appium side: send_keys()
when appending and set_text()
when replacing.
Hi jollychang,
I found out, that the latest version of Appium does support the "Hide Keyboard" feature now on Android as well.
So you can remove line 76 and 77 here: https://github.com/jollychang/robotframework-appiumlibrary/blob/master/src/AppiumLibrary/keywords/_element.py#L76
Thanks
Ben
To test my issues in #21, I did a sudo pip uninstall robotframework-appiumlibrary
, then proceed to go back to 1.0.16 via sudo pip install robotframework-appiumlibrary==1.0.16
.
Now I want to go back to the latest (1.0.20). So, I did a sudo pip uninstall robotframework-appiumlibrary
followed by, of course, sudo pip install robotframework-appiumlibrary
.
Now I get the following when trying to run pybot.
=============================================================================
Sandbox :: demo for appium library
==============================================================================
[ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No application is open
test_demo | FAIL |
NameError: global name 'appium' is not defined
If I do another uninstall, and then do sudo pip install robotframework-appiumlibrary==1.0.19
, I am fine, it works. If I try to install over this as an upgrade to try and get back to 1.0.20, I get the same error. I can now no longer get 1.0.20 installed no matter what I do. If I uninstall, then try to just install the latest at this point, 1.0.20 never works, I get the above error.
I am unable to send desired capabilities to sauce labs. I would like to send it with the following command: Open Application ${REMOTE_URL} ${PLATFORM_NAME} ${PLATFORM_VERSION} ${DEVICE_NAME} ${APP}
, but from looking at the documentation here ==> http://jollychang.github.io/robotframework-appiumlibrary/doc/AppimuLibrary.html#Open Application, i'm not seeing a way how to do so. The reason I need to send it, sauce labs requires me to specify the version of appium to use for app testing. Can you provide some insight into this, thanks.
User activity -
I am trying to fetch the text of the Button or Label, and copy it to clipboard or temporary variable in my test script. This I cannot achieve using RF capability but can achieve through pythons appium client library.
Hi, I am trayng to navigate to an url using the browser (i.e. firefox).
I am using keyword "go to url" after "open application" but I am getting this error:
WebDriverException: Message: Not yet implemented. Please help us: http://appium.io/get-involved.html
I am opening installed firefox using this capabilities:
platformName: Android
platformVersion: 4.4
browserName: android
androidPackage: org.mozilla.firefox
appActivity: org.mozilla.firefox.App
automationName: Appium
language: PT
locale: pt_BR
appiumVersion: 1.4.7
I'm sure the error I mention is thrown from "go to url"
I'll apresiate any hep, Thanks!
Hi, I need help with Go To Url keyword.
I'm using it as documentation says: first, I open application (firefox for example), this step works fine.
But when I call Go To Url | www.google.com I get this error:
WebDriverException: Message: Not yet implemented.
Is there any other way to open an url in the browser on a real device?
Thanks!
I have installed robotframework-appiumlibrary through pip command, but when I entered demo and executed pybot OrangeDemoApp.html
, it has the following errors:
Importing test library 'AppiumAndroidLibrary' failed: ImportError: No module named AppiumAndroidLibrary
How can I fix it?
It will be nice if appium will be able to scroll some views to element
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.