The First and foremost things is to have all the prerequisites tools installed in your system. The below are the step by step explanation of how to quickly setup your development environment for functional testing of mobile apps (android) using Cucumber and Calabash-android.
***If you are on Windows you can get Ruby from RubyInstaller.org ***
http://rubyinstaller.org/downloads/
2. You should have the Android SDK installed and the environment variable ANDROID_HOME should be pointing to it.
Note : Make Sure Following Environment variables should be set properly
====================================================
Set the Android path to the directory where you have the android sdk installed :
ANDROID_HOME=C:\Android-SDK\adt-bundle-windows-x86_64-20130219\sdk
STEP 1 : Install Cucumber
Navigate to Command Prompt and type "gem install cucumber"
*** In case you face any problem refer Tips Section***
STEP 2 : Install Calabash-android
Navigate to Command Prompt and type "gem install calabash-android"
***You might have to run
*** In case you face any problem refer Tips Section***
That's all ....
YOU are now set to write your First Functional Test - Refer "JumpStart Android Testing using Calabash"
Pre-Requisites:
1. You need to have Ruby installed. Verify your installation by running ruby -v in a terminal - it should print "ruby 1.8.7" (or higher).***If you are on Windows you can get Ruby from RubyInstaller.org ***
http://rubyinstaller.org/downloads/
2. You should have the Android SDK installed and the environment variable ANDROID_HOME should be pointing to it.
Note : Make Sure Following Environment variables should be set properly
====================================================
Set the Android path to the directory where you have the android sdk installed :
ANDROID_HOME=C:\Android-SDK\adt-bundle-windows-x86_64-20130219\sdk
STEP 1 : Install Cucumber
Navigate to Command Prompt and type "gem install cucumber"
*** In case you face any problem refer Tips Section***
STEP 2 : Install Calabash-android
Navigate to Command Prompt and type "gem install calabash-android"
***You might have to run
sudo gem install calabash-android
if you do not have the right permissions.****** In case you face any problem refer Tips Section***
That's all ....
YOU are now set to write your First Functional Test - Refer "JumpStart Android Testing using Calabash"
Thanks Very Helpfull
ReplyDeleteThank you very much. You have done greatness to the whole humanity!
ReplyDeleteI agree. lifesaver for people like me using Windows.
ReplyDeletethanks a lot !! i was looking for articles for weeks to do this.
ReplyDeleteYour blog is highly interesting. Thanks for sharing it.If you are looking for getting best services for mobile app testing, then visit here - http://salvusappsolutions.com
ReplyDeleteReach on any Keyword, by getting Real users to android installs apps. We offer a Free $25 promotion; you'll receive when registering.
ReplyDelete