iPhone Webdriver in a CI Environment              by James Eisenhauer© 2012 Cambia Health Solutions.
About Me     James ‘Jim’ Eisenhauer     Chief Quality Scientist, Hubbub Health     o      Breaking the web for 17 years….m...
Hubbub      Health challenge platform      deployed on Heroku          +   iPhone App &                                   ...
COMING SOON!          Hubbub Motion™        Hubbub Motion Kit: Activity Tracker and Base Station        Players can automa...
Buzzwords Galore!          A ton of info to cover and could possibly be 5-7 separate future sessions!           Setting u...
Disclaimer!!                                 All work done on                                                    Mileage m...
Selenium Grid/Server   Download here: http://seleniumhq.org/download/   Good Info here: http://code.google.com/p/selenium/...
iWebdriver                Buy a Mac                Install Xcode                Download the entire Selenium source tre...
iPhoneWebdriverSim          Find it on my github account:          https://github.com/jameseisenhauer/iPhoneWebDriverSim© ...
iWebdriver-Hooked to the Grid© 2012 Cambia Health Solutions.
Selenium Framework in Ruby          Learning Ruby as we go!!! Almost done!!          Features          o     Run from rake...
Jenkins          Download here: http://jenkins-ci.org/          Lots of help here:          Start/Stop, etc…          http...
Jenkins                                                                   Most of the time PERMGEN                        ...
Continuous Integration© 2012 Cambia Health Solutions.
Jenkins                  https://devcenter.heroku.com/articles/deploy-hooks                 Simple Ruby on Rails Tutorial ...
One More Thing!                                  Sneak Preview Beta© 2012 Cambia Health Solutions.
Thank You!!!                                  @jameseisenhauer   www.jameseisenhauer.com© 2012 Cambia Health Solutions.
Upcoming SlideShare
Loading in...5
×

Hubbub health-i phone-test-automation

632
-1

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
632
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Hubbub health-i phone-test-automation

  1. 1. iPhone Webdriver in a CI Environment  by James Eisenhauer© 2012 Cambia Health Solutions.
  2. 2. About Me James ‘Jim’ Eisenhauer Chief Quality Scientist, Hubbub Health o Breaking the web for 17 years….most of the time on purpose o Over educated and certified o Scuba Diving, Traveling & Beer! (not necessarily in that order) o Tech Oregon QA Forum - Board Member o Agile Testing Open NW Conference – Board Member o Co-Founder Portland Selenium Meetup Group @jameseisenhauer www.jameseisenhauer.com© 2012 Cambia Health Solutions.
  3. 3. Hubbub Health challenge platform deployed on Heroku + iPhone App & mobile web + Ruby on Rails web application & REST based API© 2012 Cambia Health Solutions.
  4. 4. COMING SOON! Hubbub Motion™ Hubbub Motion Kit: Activity Tracker and Base Station Players can automatically track their activity daily via Hubbub and their phones. 2. Track 3. Compare No data-entry No synching 1. Wear No charging Just moving!© 2012 Cambia Health Solutions.
  5. 5. Buzzwords Galore! A ton of info to cover and could possibly be 5-7 separate future sessions!  Setting up Selenium Grid/Server  Installing iWebdriver app on the iPhone Simulator  Building a Selenium Framework in Ruby  Setting up Jenkins CI  Running Selenium Tests when your mobile website changes© 2012 Cambia Health Solutions
  6. 6. Disclaimer!! All work done on Mileage may vary on other operating systems© 2012 Cambia Health Solutions
  7. 7. Selenium Grid/Server Download here: http://seleniumhq.org/download/ Good Info here: http://code.google.com/p/selenium/wiki/Grid2 Start it Up! View Grid Console: http://localhost:4444/grid/console© 2012 Cambia Health Solutions.
  8. 8. iWebdriver  Buy a Mac  Install Xcode  Download the entire Selenium source tree  Launch Xcode  Open the iPhone Xcode project found in the Selenium source tree  Choose build destination – iPhone simulator  Build App  Now iWebdriver is installed on your iPhone simulator  Install on real iPhone?  Pay $99 for Apple iOS Developer License  Repeat above & choose your real iPhone as build destination All the info is found here: http://code.google.com/p/selenium/wiki/IPhoneDriver© 2012 Cambia Health Solutions.
  9. 9. iPhoneWebdriverSim Find it on my github account: https://github.com/jameseisenhauer/iPhoneWebDriverSim© 2012 Cambia Health Solutions.
  10. 10. iWebdriver-Hooked to the Grid© 2012 Cambia Health Solutions.
  11. 11. Selenium Framework in Ruby Learning Ruby as we go!!! Almost done!! Features o Run from rake o Use bundler o Use Page Objects o Run from Jenkins and reported o Parallel running o Each rspec file is a browser session (for authentication) o Default browser - command line different browsers o Mobile run on emulator in CI o Screen shot on errors - shown in Jenkins o Easy change of selenium grid, sauce, etc.. o Easy change of it global test URL o Auto retry at least 2x See what I have so far at: https://github.com/jameseisenhauer/PDXSeiPhoneDemo© 2012 Cambia Health Solutions.
  12. 12. Jenkins Download here: http://jenkins-ci.org/ Lots of help here: Start/Stop, etc… https://wiki.jenkins- ci.org/display/JENKINS/Thanks+for+using+OSX+Installer© 2012 Cambia Health Solutions.
  13. 13. Jenkins Most of the time PERMGEN memory configuration needs increased. defaults write /Library/Preferences/org.jenkins -ci permGen 1024M After install view: http://localhost:8080© 2012 Cambia Health Solutions.
  14. 14. Continuous Integration© 2012 Cambia Health Solutions.
  15. 15. Jenkins https://devcenter.heroku.com/articles/deploy-hooks Simple Ruby on Rails Tutorial http://www.jameseisenhauer.com© 2012 Cambia Health Solutions.
  16. 16. One More Thing! Sneak Preview Beta© 2012 Cambia Health Solutions.
  17. 17. Thank You!!! @jameseisenhauer www.jameseisenhauer.com© 2012 Cambia Health Solutions.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×