lovelysystems / robotframework-androidlibrary

Robot Framework Automation Library for Android
29 stars 22 forks source link

Document to write cases using robotframework-androidlibrary #39

Closed sps7 closed 11 years ago

sps7 commented 11 years ago

Hi ,

I am new to this framework , I have successfully installed this framework, but not getting idea how to use it to write my cases. Is there any detail document for this.

peritus commented 11 years ago

Hey sps7,

if you are new to Robot Framework, the user guide is a really great place to start: https://code.google.com/p/robotframework/wiki/UserGuide

This project simply adds new Android specific "keywords" to use when testing Android applications. Those are documented here: http://lovelysystems.github.com/robotframework-androidlibrary/AndroidLibrary.html

You can have a look at the (minimal) test cases here: https://github.com/lovelysystems/robotframework-androidlibrary/tree/master/tests/apidemos — they are written using Robot Framework and this very library to test itself.

so long,

sps7 commented 11 years ago

HI PERITUS,

I am getting below error:
command: pybot.bat --argumentfile c:\docume~1\abc\locals~1\temp\RIDE0zcnds.d\argfile.txt --listener C:\Python27\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:3050 C:\robotframework-androidlibrary-master\robotframework-androidlibrary-master\tests\apidemos\apidemos.txt
[Error 2] The system cannot find the file specified
peritus commented 11 years ago

Hey,

telling from the path (C:\robotframework-androidlibrary-master\robotframework-androidlibrary-master...) it looks like you "installed" the tarball downloaded from github. The supported installation method is via pip (http://www.pip-installer.org/) and that is probably causing files not being where they are supposed to be.

so long,

sps7 commented 11 years ago

Thanks it got solved after installing with pip.