robotframework-androidlibrary
robotframework-androidlibrary copied to clipboard
Incompatibility with recent Robot Framework
I get this exception when using AndroidLibrary with the latest Robot Framework code:
Importing test library 'AndroidLibrary' failed: ImportError: cannot import name GLOBAL_VARIABLES
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/AndroidLibrary/init.py", line 13, in
Seems like it's smth similar to https://github.com/rtomac/robotframework-selenium2library/issues/429
Hello I'm getting the same error, did you find any solution ?
Traceback (most recent call last):
File "c:\python27\lib\site-packages\AndroidLibrary__init__.py", line 13, in
As mentioned by Pekka Klärck (https://www.linkedin.com/grp/post/3710899-6032671543765590020?trk=groups-post-b-all-cmnts):
"AndroidLibrary uses Robot's internal API that has changed in RF 2.9. It needs to be fixed in AndroidLibrary but I don't know how actively it is maintained. Alternatively you can downgrade RF to 2.8.7."
Since the project looks kind of abandoned, I don't think you will get a fix soon.
Maybe give this a try instead: https://github.com/jollychang/robotframework-appiumlibrary?
Hi a-padinha,
I am also facing the same error 'Importing test library 'AndroidLibrary' failed: ImportError: cannot import name GLOBAL_VARIABLES'
when i am trying to use Library AndroidLibrary in my robot script. Is your issue resolved???? If resloved, Help me how to resolve it.
I installed it using following command: pip install --upgrade robotframework-androidlibrary
and following are the revisions i am using: robotframework (3.0) robotframework-androidlibrary (0.2.0)