Successfully reported this slideshow.
Your SlideShare is downloading. ×

Dreamforce 2014 Mobile Theatre Session - Automated Testing for Salesforce1 Mobile Apps Using the Appium Framework

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 34 Ad

Dreamforce 2014 Mobile Theatre Session - Automated Testing for Salesforce1 Mobile Apps Using the Appium Framework

Download to read offline

My session at the Mobile Theatre in Dev Zone at Dreamforce 2014 on how to use the open source Appium framework for Salesforce1 mobile app automation testing

My session at the Mobile Theatre in Dev Zone at Dreamforce 2014 on how to use the open source Appium framework for Salesforce1 mobile app automation testing

Advertisement
Advertisement

More Related Content

Slideshows for you (20)

Similar to Dreamforce 2014 Mobile Theatre Session - Automated Testing for Salesforce1 Mobile Apps Using the Appium Framework (20)

Advertisement

Recently uploaded (20)

Advertisement

Dreamforce 2014 Mobile Theatre Session - Automated Testing for Salesforce1 Mobile Apps Using the Appium Framework

  1. 1. Automated Testing for Salesforce1 Mobile Apps Using the Appium Framework Gaurav Kheterpal – Mobility, Metacube gauravkheterpal Starts at 10 AM
  2. 2. Safe Harbor harbor statement under the Private Securities Litigation Reform Act of 1995: presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts services. and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  3. 3. Gaurav Kheterpal Head – Mobility Metacube
  4. 4. • Native App Automation • Hybrid App Automation • How it works? • Best Practices • Continuous Integration • Summary • Q&A Agenda Salesforce1 Mobile Why Automate? Mobile Automation Challenges Introducing Appium WebDriver Wire Protocol Setting Up Salesforce1 – Sample Mobile Apps
  5. 5. Salesforce1 Mobile Development
  6. 6. Salesforce1 Mobile Development
  7. 7. Salesforce1 Mobile Development
  8. 8. Why Automate?
  9. 9. Why Automate?
  10. 10. Why Automate? Image courtesy - http://johnhammink.blogspot.kr/2010/11/off-beaten-path-test-automation-that.html
  11. 11. Mobile Automation Challenges
  12. 12. Mobile Automation Challenges
  13. 13. Mobile Automation Challenges
  14. 14. Introducing Appium Open source test automation framework Works for both native and hybrid mobile apps Uses WebDriver JSON Wire Protocol external SDK, No Re-compilation knowledge of underlying app source code
  15. 15. Introducing Appium
  16. 16. WebDriver JSON Wire Protocol Selenium WebDriver – the de-facto industry standard for browser automation Currently a W3C Working ‘Draft’ Appium runs a HTTP Server managing WebDriver sessions Server listens for commands, executes on device/ simulator and sends back a HTTP response
  17. 17. Setting up Appium
  18. 18. Setting up Appium
  19. 19. Setting up Appium
  20. 20. Setting up Appium
  21. 21. Setting up Appium
  22. 22. Salesforce1 – Sample Native App
  23. 23. Salesforce1 – Native App Automation Script Creation
  24. 24. Salesforce1 – Native App Automation Script Creation
  25. 25. Salesforce1 – Native App Automation Script Execution
  26. 26. Salesforce1 – Sample Hybrid App
  27. 27. Salesforce1 – Hybrid App Automation Script Creation
  28. 28. Salesforce1 – Hybrid App Automation Script Execution
  29. 29. Automation Best Practices Test Early, Test Often Positive, Negative, Edge, Bulk Cases Reports & Statistics Avoid debugs, SOPs, code cluttering TDD
  30. 30. Automation Best Practices
  31. 31. Continuous Integration – Putting It All Together! Hook up your scripts with a CI Tool such as Jenkins CloudBees CircleCI CISimple Report on your automated tests using a tool such as TestNG + ReportNG Analyse your test results using a framework such as New Relic
  32. 32. Summary Download & Setup Mobile SDK over Sample App Code Download & Setup Appium Record Your Scripts Play Your Scripts them into a Maven Project Hook it up to your CI Server Boom – You’re all set to automate your Salesforce1 native & hybrid apps!
  33. 33. A Questions?

×