SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
State of the Automation




            @admc
Tuesday, April 24, 12
Ich: github.com/admc
        •     I’m a web developer
        •     OSAF 2007, released Windmill Project
        •     Slide 2008, released WatiN, FlexPilot
        •     Mozilla 2009, released MozMill
        •     Sauce Labs 2010 - 2012
              •     Selenium Builder
              •     Jellyfish
              •     WD, WD-Candy



Tuesday, April 24, 12
Introduction

                Thanks for having us!
                You may know all of this, already.
                Conclusions from years of pain.
                I hope you find something new to take away.




Tuesday, April 24, 12
The History
                 Selenium Core - 2004

                 Windmill - 2007

                 Node.JS - Appears at JS.EU - 2009

                 Soda - Node drives Selenium 1!

                 JSDOM, Phantom, Zombie, Tobi - 2010

                 WebDriver - Starts talking about mobile

                 WebDriver + Selenium = Selenium 2




Tuesday, April 24, 12
Test Stack
                        Manual, otherwise still not
                        impressed.


                        WebDriver: wd-candy (wd pronounced
                        wood), WebDriverJS, webdriver-js


                        Zombie, Phantom, Tobi



                        QUnit
                        Jasmine




                        Vows
                        Mocha
Tuesday, April 24, 12
The Holy Grail




Tuesday, April 24, 12
Do what works

          •     Immediate value
          •     Easy for developers
          •     Some is better than none




Tuesday, April 24, 12
6 Commandments of test
          •     Only run after passing headless
          •     Small succinct test cases
          •     No test case dependencies
          •     Abstract fragile locators
          •     Parallelize test runs to the max
          •     Focus on the money path



Tuesday, April 24, 12
What do I test?

          •     Metrics for pages (Mixpanel?)
          •     Analytics for browsers (Google?)
          •     Money path!




Tuesday, April 24, 12
Evangelism

          •     Your testing work is never done
          •     Selenium Conf 2011 - Automated Battle Scars
                http://youtu.be/vZTi02tSs_M




Tuesday, April 24, 12
Continuous Integration
          	 is HOT
                    Jenkins (commercial: cloudbees)
                    Travis-CI: OSS Only
                    Waterfall test flow, fail early
                    Only SMS on critical
                    Incredible speed up in development
                    Plugins for Selenium/WebDriver



Tuesday, April 24, 12
WebDriver (Se 2)

                  W3C Standard
                  Name situation
                  Selenium Conference: Community
                  Does web automation amazingly
                  Cares about mobile
                  Selenium Grid



Tuesday, April 24, 12
We accidentally..


     All the browsers




                            We’re just getting started..




Tuesday, April 24, 12
Mobile Native

          •     A work in progress
          •     Searching for a community
          •     NativeDriver -- awesome, discontinued :-(
          •     calabash -- appears to have momentum




Tuesday, April 24, 12
Future

                Full mobile web coverage
                as part of Selenium
                Faster Android emulation solution
                Faster browser testing due to browser side
                optimizations
                Blessed mobile native solution with WebDriver API’s
                Robots.


Tuesday, April 24, 12
Sauce Labs
                Open Source projects!
                Se Builder -> Node Selenium Libraries
                Cleaner integration: QUnit, Jasmine
                Integration with Selenium Grid
                Better ways to
                •       debug your JS via the cloud
                •       profile your JS on the cloud


Tuesday, April 24, 12
Seriously, Robots




                        http://bitbeam.org
Tuesday, April 24, 12
The Clouds
          •     General
                •       EC2, RackSpace, MacMiniCloud etc.
          •     Specific
                •       Sauce OnDemand - Functional, Client JS Unit
                •       Testling - Client JS Unit
                •       Browser Stack - Client JS Unit
                •       TestBot - Client Functional


Tuesday, April 24, 12
Vielen Dank Berlin.JS!

                Thanks Berlin.JS for hosting!
                Keeping the JS Community growing in .de
                Allowing us to come talk to you!




Tuesday, April 24, 12
Links
                Mocha: http://visionmedia.github.com/mocha/
                Calabash: https://github.com/calabash/
                Selenium Grid: http://selenium-grid.seleniumhq.org/
                WD: https://github.com/admc/wd
                WD-Candy: https://github.com/admc/wd-candy
                Vows: http://vowsjs.org/
                QUnit: http://docs.jquery.com/Qunit
                WebDriverJS: http://code.google.com/p/selenium/wiki/WebDriverJs
                webdriver-js: https://github.com/dmachi/webdriver-js
                Selenium/WebDriver: http://seleniumhq.org/
                Zombie.JS: https://github.com/assaf/zombie
                Tobi: https://github.com/learnboost/tobi
                Se-Builder: http://www.sebuilder.com


Tuesday, April 24, 12
Q&A




                Bierzeit?
Tuesday, April 24, 12

Weitere ähnliche Inhalte

Andere mochten auch

Automated Battle Scars Se Conf 2011
Automated Battle Scars Se Conf 2011Automated Battle Scars Se Conf 2011
Automated Battle Scars Se Conf 2011Adam Christian
 
In-house web automation?
In-house web automation?In-house web automation?
In-house web automation?Adam Christian
 
JavaScript Testing VIA Selenium
JavaScript Testing VIA SeleniumJavaScript Testing VIA Selenium
JavaScript Testing VIA SeleniumAdam Christian
 
Jellyfish, JSCONF 2011
Jellyfish, JSCONF 2011Jellyfish, JSCONF 2011
Jellyfish, JSCONF 2011Adam Christian
 
The Black Magic of Engineering Management
The Black Magic of Engineering ManagementThe Black Magic of Engineering Management
The Black Magic of Engineering ManagementAdam Christian
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksSlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShareSlideShare
 

Andere mochten auch (10)

Study Languages
Study LanguagesStudy Languages
Study Languages
 
SFJS 6-19-2012
SFJS 6-19-2012SFJS 6-19-2012
SFJS 6-19-2012
 
Builder webinar
Builder webinarBuilder webinar
Builder webinar
 
Automated Battle Scars Se Conf 2011
Automated Battle Scars Se Conf 2011Automated Battle Scars Se Conf 2011
Automated Battle Scars Se Conf 2011
 
In-house web automation?
In-house web automation?In-house web automation?
In-house web automation?
 
JavaScript Testing VIA Selenium
JavaScript Testing VIA SeleniumJavaScript Testing VIA Selenium
JavaScript Testing VIA Selenium
 
Jellyfish, JSCONF 2011
Jellyfish, JSCONF 2011Jellyfish, JSCONF 2011
Jellyfish, JSCONF 2011
 
The Black Magic of Engineering Management
The Black Magic of Engineering ManagementThe Black Magic of Engineering Management
The Black Magic of Engineering Management
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
 

Ähnlich wie Berlin.JS Meetup

eXo Software Factory Overview
eXo Software Factory OvervieweXo Software Factory Overview
eXo Software Factory OverviewArnaud Héritier
 
Front End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalFront End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalPromet Source
 
Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Isaac Chiang
 
Front End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalFront End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalAndy Kucharski
 
Web Application Testing with Selenium
Web Application Testing with Selenium Web Application Testing with Selenium
Web Application Testing with Selenium Sargis Sargsyan
 
node.js in action
node.js in actionnode.js in action
node.js in actionKaran Misra
 
Ship It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails EcosystemShip It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails EcosystemYi-Ting Cheng
 
Measuring Web Performance - HighEdWeb Edition
Measuring Web Performance - HighEdWeb EditionMeasuring Web Performance - HighEdWeb Edition
Measuring Web Performance - HighEdWeb EditionDave Olsen
 
Android casting-wide-net-android-devices
Android casting-wide-net-android-devicesAndroid casting-wide-net-android-devices
Android casting-wide-net-android-devicesMarakana Inc.
 
WebDriver: The Final Frontier - Selenium Camp 2014
WebDriver: The Final Frontier - Selenium Camp 2014WebDriver: The Final Frontier - Selenium Camp 2014
WebDriver: The Final Frontier - Selenium Camp 2014Sauce Labs
 
SeleniumCamp 2014 - Webdriver – the final frontier
SeleniumCamp 2014 - Webdriver – the final frontierSeleniumCamp 2014 - Webdriver – the final frontier
SeleniumCamp 2014 - Webdriver – the final frontierbkobos
 
Devops hot or not - bridging the gap between dev and ops
Devops   hot or not - bridging the gap between dev and opsDevops   hot or not - bridging the gap between dev and ops
Devops hot or not - bridging the gap between dev and opsXebiaLabs
 
Docker and Selenoid - Make Autotests Great Again
Docker and Selenoid - Make Autotests Great Again Docker and Selenoid - Make Autotests Great Again
Docker and Selenoid - Make Autotests Great Again COMAQA.BY
 
Cloud Foundry OpenTour Kiev Keynote
Cloud Foundry OpenTour Kiev KeynoteCloud Foundry OpenTour Kiev Keynote
Cloud Foundry OpenTour Kiev KeynotePatrick Chanezon
 
Angrybirds Magento Cloud Deployment
Angrybirds Magento Cloud DeploymentAngrybirds Magento Cloud Deployment
Angrybirds Magento Cloud DeploymentAOE
 

Ähnlich wie Berlin.JS Meetup (20)

eXo Software Factory Overview
eXo Software Factory OvervieweXo Software Factory Overview
eXo Software Factory Overview
 
Front End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalFront End page speed performance improvements for Drupal
Front End page speed performance improvements for Drupal
 
33rd degree
33rd degree33rd degree
33rd degree
 
Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Cloud stack design camp on jun 15
Cloud stack design camp on jun 15
 
Front End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalFront End page speed performance improvements for Drupal
Front End page speed performance improvements for Drupal
 
Web Application Testing with Selenium
Web Application Testing with Selenium Web Application Testing with Selenium
Web Application Testing with Selenium
 
node.js in action
node.js in actionnode.js in action
node.js in action
 
Selenium practical
Selenium practicalSelenium practical
Selenium practical
 
Ship It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails EcosystemShip It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails Ecosystem
 
Measuring Web Performance - HighEdWeb Edition
Measuring Web Performance - HighEdWeb EditionMeasuring Web Performance - HighEdWeb Edition
Measuring Web Performance - HighEdWeb Edition
 
Android casting-wide-net-android-devices
Android casting-wide-net-android-devicesAndroid casting-wide-net-android-devices
Android casting-wide-net-android-devices
 
Meet the Selenium Grid
Meet the Selenium GridMeet the Selenium Grid
Meet the Selenium Grid
 
WebDriver: The Final Frontier - Selenium Camp 2014
WebDriver: The Final Frontier - Selenium Camp 2014WebDriver: The Final Frontier - Selenium Camp 2014
WebDriver: The Final Frontier - Selenium Camp 2014
 
SeleniumCamp 2014 - Webdriver – the final frontier
SeleniumCamp 2014 - Webdriver – the final frontierSeleniumCamp 2014 - Webdriver – the final frontier
SeleniumCamp 2014 - Webdriver – the final frontier
 
Devops hot or not - bridging the gap between dev and ops
Devops   hot or not - bridging the gap between dev and opsDevops   hot or not - bridging the gap between dev and ops
Devops hot or not - bridging the gap between dev and ops
 
Dockercon EU 2015
Dockercon EU 2015Dockercon EU 2015
Dockercon EU 2015
 
Docker and Selenoid - Make Autotests Great Again
Docker and Selenoid - Make Autotests Great Again Docker and Selenoid - Make Autotests Great Again
Docker and Selenoid - Make Autotests Great Again
 
Cloud Foundry OpenTour Kiev Keynote
Cloud Foundry OpenTour Kiev KeynoteCloud Foundry OpenTour Kiev Keynote
Cloud Foundry OpenTour Kiev Keynote
 
Selenium
SeleniumSelenium
Selenium
 
Angrybirds Magento Cloud Deployment
Angrybirds Magento Cloud DeploymentAngrybirds Magento Cloud Deployment
Angrybirds Magento Cloud Deployment
 

Kürzlich hochgeladen

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 

Kürzlich hochgeladen (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Berlin.JS Meetup

  • 1. State of the Automation @admc Tuesday, April 24, 12
  • 2. Ich: github.com/admc • I’m a web developer • OSAF 2007, released Windmill Project • Slide 2008, released WatiN, FlexPilot • Mozilla 2009, released MozMill • Sauce Labs 2010 - 2012 • Selenium Builder • Jellyfish • WD, WD-Candy Tuesday, April 24, 12
  • 3. Introduction Thanks for having us! You may know all of this, already. Conclusions from years of pain. I hope you find something new to take away. Tuesday, April 24, 12
  • 4. The History Selenium Core - 2004 Windmill - 2007 Node.JS - Appears at JS.EU - 2009 Soda - Node drives Selenium 1! JSDOM, Phantom, Zombie, Tobi - 2010 WebDriver - Starts talking about mobile WebDriver + Selenium = Selenium 2 Tuesday, April 24, 12
  • 5. Test Stack Manual, otherwise still not impressed. WebDriver: wd-candy (wd pronounced wood), WebDriverJS, webdriver-js Zombie, Phantom, Tobi QUnit Jasmine Vows Mocha Tuesday, April 24, 12
  • 6. The Holy Grail Tuesday, April 24, 12
  • 7. Do what works • Immediate value • Easy for developers • Some is better than none Tuesday, April 24, 12
  • 8. 6 Commandments of test • Only run after passing headless • Small succinct test cases • No test case dependencies • Abstract fragile locators • Parallelize test runs to the max • Focus on the money path Tuesday, April 24, 12
  • 9. What do I test? • Metrics for pages (Mixpanel?) • Analytics for browsers (Google?) • Money path! Tuesday, April 24, 12
  • 10. Evangelism • Your testing work is never done • Selenium Conf 2011 - Automated Battle Scars http://youtu.be/vZTi02tSs_M Tuesday, April 24, 12
  • 11. Continuous Integration is HOT Jenkins (commercial: cloudbees) Travis-CI: OSS Only Waterfall test flow, fail early Only SMS on critical Incredible speed up in development Plugins for Selenium/WebDriver Tuesday, April 24, 12
  • 12. WebDriver (Se 2) W3C Standard Name situation Selenium Conference: Community Does web automation amazingly Cares about mobile Selenium Grid Tuesday, April 24, 12
  • 13. We accidentally.. All the browsers We’re just getting started.. Tuesday, April 24, 12
  • 14. Mobile Native • A work in progress • Searching for a community • NativeDriver -- awesome, discontinued :-( • calabash -- appears to have momentum Tuesday, April 24, 12
  • 15. Future Full mobile web coverage as part of Selenium Faster Android emulation solution Faster browser testing due to browser side optimizations Blessed mobile native solution with WebDriver API’s Robots. Tuesday, April 24, 12
  • 16. Sauce Labs Open Source projects! Se Builder -> Node Selenium Libraries Cleaner integration: QUnit, Jasmine Integration with Selenium Grid Better ways to • debug your JS via the cloud • profile your JS on the cloud Tuesday, April 24, 12
  • 17. Seriously, Robots http://bitbeam.org Tuesday, April 24, 12
  • 18. The Clouds • General • EC2, RackSpace, MacMiniCloud etc. • Specific • Sauce OnDemand - Functional, Client JS Unit • Testling - Client JS Unit • Browser Stack - Client JS Unit • TestBot - Client Functional Tuesday, April 24, 12
  • 19. Vielen Dank Berlin.JS! Thanks Berlin.JS for hosting! Keeping the JS Community growing in .de Allowing us to come talk to you! Tuesday, April 24, 12
  • 20. Links Mocha: http://visionmedia.github.com/mocha/ Calabash: https://github.com/calabash/ Selenium Grid: http://selenium-grid.seleniumhq.org/ WD: https://github.com/admc/wd WD-Candy: https://github.com/admc/wd-candy Vows: http://vowsjs.org/ QUnit: http://docs.jquery.com/Qunit WebDriverJS: http://code.google.com/p/selenium/wiki/WebDriverJs webdriver-js: https://github.com/dmachi/webdriver-js Selenium/WebDriver: http://seleniumhq.org/ Zombie.JS: https://github.com/assaf/zombie Tobi: https://github.com/learnboost/tobi Se-Builder: http://www.sebuilder.com Tuesday, April 24, 12
  • 21. Q&A Bierzeit? Tuesday, April 24, 12