Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Selenium 2: The Future of Selenium is now!

18,115 views

Published on

Published in: Education
  • Be the first to comment

Selenium 2: The Future of Selenium is now!

  1. 1. Selenium 2 The Future of Selenium is now!
  2. 2. What is Selenium 1 <ul><li>Selenium  </li></ul><ul><ul><li>IDE </li></ul></ul><ul><ul><li>RC </li></ul></ul><ul><ul><li>Grid </li></ul></ul><ul><ul><li>Written in JavaScript </li></ul></ul><ul><ul><li>Works in all browsers that support JavaScript </li></ul></ul>
  3. 3. What is WebDriver <ul><li>WebDriver </li></ul><ul><ul><li>ChromeDriver </li></ul></ul><ul><ul><li>InternetExplorerDriver </li></ul></ul><ul><ul><li>FirefoxDriver </li></ul></ul><ul><ul><li>OperaDriver </li></ul></ul><ul><ul><li>AndroidDriver </li></ul></ul><ul><ul><li>iPhoneDriver </li></ul></ul><ul><ul><li>RemoteWebDriver </li></ul></ul>
  4. 4. What is WebDriver <ul><li>  </li></ul>
  5. 5. DEMO  
  6. 6. How does WebDriver work <ul><li>REST-ish </li></ul>
  7. 7. Why Merge? <ul><li>Selenium > WebDriver </li></ul>
  8. 8. Why Merge? <ul><li>Selenium > WebDriver </li></ul><ul><li>WebDriver > Selenium </li></ul>
  9. 9. Why Merge? <ul><li>Selenium > WebDriver </li></ul><ul><li>WebDriver > Selenium </li></ul><ul><li>Simpler API </li></ul>
  10. 10. Why Merge?   <ul><li>Selenium > WebDriver </li></ul><ul><li>WebDriver > Selenium </li></ul><ul><li>Simpler API </li></ul><ul><li>Speed </li></ul>
  11. 11. Why Merge? <ul><li>Selenium > WebDriver </li></ul><ul><li>WebDriver > Selenium </li></ul><ul><li>Simpler API </li></ul><ul><li>Speed </li></ul><ul><li>Scalability </li></ul>
  12. 12. DEMO  
  13. 13. What does the merge look like? <ul><ul><li>Previous client languages still the same </li></ul></ul><ul><ul><li>New Selenium 2 Bindings along side Selenium 1 </li></ul></ul><ul><ul><li>One  Über-Jar that holds the Selenium 1 Remote Control and the new Selenium Server </li></ul></ul><ul><ul><li>Shared JavaScript via Atoms </li></ul></ul>
  14. 14. When Can I start using it? <ul><li>NOW! </li></ul>
  15. 15. Moving from 1 to 2 <ul><ul><li>WebDriverBackedSelenium </li></ul></ul><ul><li>WebDriver driver = new FirefoxDriver(); </li></ul><ul><li>Selenium selenium = new WebDriverBackedSelenium(driver, &quot;http://www.google.com&quot; ); </li></ul><ul><li>selenium.open(&quot;/&quot;); </li></ul>
  16. 16. What about Grid?  
  17. 17. Mobile Support <ul><ul><li>Android </li></ul></ul><ul><ul><li>iOS </li></ul></ul>
  18. 18. DEMO  
  19. 19. The Future <ul><li>A number of browsers have started putting WebDriver in the browser </li></ul><ul><ul><li>Chromium </li></ul></ul><ul><ul><li>Opera </li></ul></ul>
  20. 20. Questions? David Burns http://www.theautomatedtester.co.uk @AutomatedTester

×