Setting up Vagrantified Android Appium environment provisioned with Ansible

Automation, iOSDev
Vagrant Vagrant is a great tool to build and distribute development environments. Vagrant allows us to keep development environment configuration same on various machines in order to avoid issues like "It works on my machine !". If you haven't started with vagrant please go though the getting started guide of vagrant. It's very easy to setup. I have written up a post with detailed screenshots here Ansible: Vagrant Provisioner Vagrant can be provisioned with various provisioners. We can use basic shell provisioner or Chef or Puppet to provision vagrant boxes. My choice is Ansible ,  there are many reasons to choose Ansible but here are few Ansible is very simple to configure Ansible has many simple and easy  playbooks Ansible has predefined roles which we can use directly. It reduces lots of…
Read More

Adventures with iOS Automation using Appium on OSX and iOS

BDD, iOSDev
Appium on OSX Yosemite OSX Yosemite is going to be released soon with Xcode 6 and iOS8 support. I have installed latest public beta version of the OSX Yosemite. Just given a try to setup Appium to see if it supports iOS8. Requirements Mac OSX with Yosemite  Xcode 6 Ruby-Cucumber NodeJS BDDfire [Optional] Setup I will be using Ruby-Cucumber-Capybara framework with Appium, I have writen and Gem called 'BDDfire' to setup framework in a minute. BDDfire We can crreate a project directory and install framework [crayon-58a9858ed7716555237574/] Now we have all the directory setup for appium with all capybara and cucumber. Install RubyGems Now we will ruby 1.9.3 and install all the gems from the Gemfile [crayon-58a9858ed7724210462559/] It looks like this   Install Node and Start Appium BDDfire has created 'package.json' with Appium…
Read More

iOS Developers Conference 2014 at SkillsMatter

BDD, iOSDev
iOS Developers Conference 2014 SkilllsMatter[@skillsmatter] has organised an awesome #iOSCon, iOS Developers Conference in London. The programme of the conference can be found here. My talk on iOS Automation with Appium, Cucumber and Saucelabs has been selected for the conference in which I have covered following topics Introduction to Appium [@appiumdevs] Setting up your Mobile App for the Appium Test (Local and @Saucelabs) Use of Appium Inspector http://www.youtube.com/watch?v=cVJeWBw7doc Live Demo of the Cucumber + Appium +Saucelabs http://www.youtube.com/watch?v=FzS_zBf8rIg [courtesy : SkillsMatter Flickr] Slides The Slides of my talk can be found on the SlidesShare [slideshare id=34782446&doc=iosautomation-140516161934-phpapp01]   SkillsCasts You can watch the video of my talk by clicking on the image. Note: You may need to login to watch entire skillcast                    …
Read More

Appium 1.0 [Orion] : Features and Usage on OSX Mavericks

iOSDev, Personal
Appium 1.0 [Orion] Appium team has just released new version of the Appium.[1.0] a.k.a Orion, which has fixed some bugs as well as added new amazing features. Appium[@AppiumDevs] team launched new appium verion at Saucelabs [@saucelabs] Features The list of the new appium features are posted on the Saucelabs official blog 'Oh, Appy Day! Appium 1.0 is Here'. All the other features are also on the release notes. In a nutshell, they are as follows New Client libraries for all the supported languages e.g Java, Python, Ruby etc New Desired capabilities API for the Selenium WebDriver Full XML and XPath Support on top of JSON New element locator strategy and support for more platforms Brand New Appium App for the OSX  Appium OSX App Appium has also released brand new OSX…
Read More

iOS Automated Testing in the BDD with Cucumber, Appium and SauceLabs

BDD, iOSDev
Abstract The mobile  automation is becoming trending topic these days. There are new tools introducing in the market in order to make the iOS and Android automation hassle free and Appium is one of them. In this tutorial, we will see how to setup Mac OSX for iOS automation using BDD tool [Cucumber], cloud testing service Saucelabs and Appium server. Appium Appium is a open source, cross platform test automation tool for the hybrid and native iOS, Andriod and FirefoxOS apps. In the simple term, appium is a server running in the background like Selenium server. The key benefit of the Appium It's very easy to setup and on different platform. Can write tests in the language of your choice (Ruby, Python, Java, PHP, Node) Can still use Selenium Wbdriver…
Read More

Tips for the BDD Tester: Most Read Eurostar Article

BDD, iOSDev
My Guest Post I am extremely happy to see my guest post on Eurostar blog called "Top Tips for the BDD Tester" has been most read article on the Eurostar Conference. Eurostar Conferences is a one of the biggest software testing community in the Europe [@esconfs] and providing quality resources for the software test engineers. I am proud that my post published in Nov 2012 has became most read blog article. Why Should You Read This Post It's very important for everyone in the agile development team to understand their role. The agile development methodologies like Behaviour Driven Development becoming so popular and role of test engineer changing dramatically. This post explains the role of test engineer in the Behaviour Driven Development projects. BDD bridges communication gap between technology and business. I believe, you should understand role…
Read More

Testing Vim iOS Mobile App with Cucumber & Calabash

BDD, iOSDev
Mobile Test Automation Mobile testing is a real challenge when it comes to automation because of variety of the platforms, versions and interfaces. Let's say, iOS Apps, We got iPhones, iPads and different versions of them. Android devices are even more complex. Mobile test automation is a emerging topic in recent days and selecting automation libraries takes lot of research and investigation of the variety of test automation tools. In this tutorial, I will explain how I set up Calabash, Cucumber test automation framework on Mac OSX to test Vim iOS application. Calabash: Mobile Test Automation Library Calabash is a mobile test automation technology which currently supports iOS and Android Apps. Calabash is maintained by company called 'LessPainful'. Github repositories are maintained by Karl Krukow [@karlkrukow]. I got introduced with Calabash while attending…
Read More

Mobile Test Automation & Device Orientation with Behat & SauceLabs

BDD, iOSDev
Behat Supports Mobile Automation for Portarit & Landscape orientation with SauceLabs: Hope you enjoyed my Guest Blog post on official Sauce Labs blog about 'Testing Your Mobile Apps with Behat and SauceLabs'. We have seen how to run your BDD scenarios on the moble devices with use of Behat and SauceLabs combination. We have just added support for mobile test automation with Portrait, Landscape orientation and different device types. We have added more Saucelabs supported Selenium WebDriver desired capabilities to Mink Extention's Selenium2 Driver, so that we can run BDD scenarios both for Landscape and Portait orientation. This applies for iPhone, iPad and Android devices. Whats New in Desired Capabilities? deviceOrientation Now, It's possible to We run our scenarios with 'landscape' or 'portrait' devices. Default is 'Portrait'. Just by adding…
Read More