When I run my sample test I get the following output:
o:\projects\robotframework\Android\robotframework-calabash-example>pybot calabash-test.txt >> result.txt
[ ERROR ] Error in file 'o:\projects\robotframework\Android\robotframework-calabash-example\calabash-test.txt' in table 'Settings': Importing test library 'AndroidLibrary
' failed: ImportError: No module named requests
Traceback (most recent call last):
File "o:\tools\python\lib\site-packages\AndroidLibraryinit.py", line 5, in <mo
dule>
import requests
PYTHONPATH:
o:\tools\python\lib\site-packages\robot\libraries
o:\tools\python\lib\site-packages
o:\tools\python\lib\site-packages\setuptools-0.6c11-py2.7.egg
o:\tools\python\lib\site-packages\simplejson-2.6.1-py2.7.egg
o:\tools\python\lib\site-packages\robotframework_selenium2library-1.0.1-py2.7.egg
o:\tools\python\lib\site-packages\docutils-0.9.1-py2.7.egg
o:\tools\python\lib\site-packages\selenium-2.25.0-py2.7.egg
o:\tools\python\lib\site-packages\decorator-3.3.3-py2.7.egg
o:\tools\python\lib\site-packages\pip-1.2.1-py2.7.egg
C:\Windows\system32\python27.zip
o:\tools\python\DLLs
o:\tools\python\lib
o:\tools\python\lib\plat-win
o:\tools\python\lib\lib-tk
o:\tools\python
.
o:\projects\robotframework\Android\robotframework-calabash-example
And here is my folder of AndroidLibrary directory:
Directory of o:\tools\python\Lib\site-packages\AndroidLibrary
I can't import AndroidLibrary
I've installed AndroidLibrary using: pip install --upgrade robotframework-androidlibrary
When I run my sample test I get the following output: o:\projects\robotframework\Android\robotframework-calabash-example>pybot calabash-test.txt >> result.txt [ ERROR ] Error in file 'o:\projects\robotframework\Android\robotframework-calabash-example\calabash-test.txt' in table 'Settings': Importing test library 'AndroidLibrary ' failed: ImportError: No module named requests Traceback (most recent call last): File "o:\tools\python\lib\site-packages\AndroidLibraryinit.py", line 5, in <mo dule> import requests PYTHONPATH: o:\tools\python\lib\site-packages\robot\libraries o:\tools\python\lib\site-packages o:\tools\python\lib\site-packages\setuptools-0.6c11-py2.7.egg o:\tools\python\lib\site-packages\simplejson-2.6.1-py2.7.egg o:\tools\python\lib\site-packages\robotframework_selenium2library-1.0.1-py2.7.egg o:\tools\python\lib\site-packages\docutils-0.9.1-py2.7.egg o:\tools\python\lib\site-packages\selenium-2.25.0-py2.7.egg o:\tools\python\lib\site-packages\decorator-3.3.3-py2.7.egg o:\tools\python\lib\site-packages\pip-1.2.1-py2.7.egg C:\Windows\system32\python27.zip o:\tools\python\DLLs o:\tools\python\lib o:\tools\python\lib\plat-win o:\tools\python\lib\lib-tk o:\tools\python . o:\projects\robotframework\Android\robotframework-calabash-example
And here is my folder of AndroidLibrary directory: Directory of o:\tools\python\Lib\site-packages\AndroidLibrary
2012-09-19 13:20
Can you provide sample test case? Or something other?