Selenium 2   Jason HugginsCo-creator, The Selenium ProjectCo-founder, CTO, Sauce Labs Inc         twitter: @hugs  email: h...
Agenda•   Overview of Selenium    •   Selenium IDE, RC, Grid•   Why Selenium 2?•   Demos!•   Q&A
What is Selenium?  =       +
The Problem
Selenium IDE for Firefox
!"#$%"&$(%)$*                                         6                 +%%,-..///01*234)03$#.,+$%$5.23"6$(".789:;8<=:
Selenium Remote Control                            Selenium RC Server Python, Ruby,                                       ...
Example Selenium RC Test - Java
Example Selenium RC Test - C#
!"#$Selenium Grid                %&&())***+,-#./"+.01)%0&02)$345)678
Servers          Time          Unit of Work
Servers          Time          Unit of Work
Why Selenium 2?
Mobile
Types of Mobile Testing• Emulator• Real device (tethered to workstation)• Real device in a real location on a real  network
Native vs Web
Life before the Web  Total Application Market
Yesterday              JS+HTMLTotal Application Market
Today              JS+HTML5Total Application Market
Data?
Sencha
SproutCore
SproutCore
PhoneGap
Today                            Selenium                           lives here!              JS+HTML5Total Application Mar...
Today              JS+HTML5Total Application Market
Tomorrow                            Selenium                           lives here!      JS+HTML5Total Application Market
The Pareto Principle
AKA (“The Pacman Problem”)          Selenium 1                       Selenium 2
Solving the last 20%• Native keyboard & mouse events• Same Origin Policy / XSS / HTTP(S)• Pop-ups, dialogs – Basic Authent...
Cleaner API• WebDriver Object• WebElement Objects
Other Benefits• Improved architecture• Removing road-blocks, hacks, and  workarounds• Scales down (more developer friendly)...
Selenium Remote Control                            Selenium RC Server Python, Ruby,                                       ...
Selenium 2                           Selenium RC Server Python, Ruby,                                                     ...
Python, Ruby,                                  Your AwesomeJava, C#, or Perl   HTTP   HTTP                                ...
Python, Ruby,                                   Your AwesomeJava, C#, or Perl   C/C++   HTTP                              ...
Running a server is now optional!                           Selenium Grid Python, Ruby,                                   ...
Demo!
Q&A
Selenium 2   Jason HugginsCo-creator, The Selenium ProjectCo-founder, CTO, Sauce Labs Inc         twitter: @hugs  email: h...
Upcoming SlideShare
Loading in …5
×

Selenium 2 Webinar: The Next Generation of Web and Mobile Application Testing

9,209
-1

Published on

Curious to know more about Selenium 2? On Feb 16, Jason Huggins, co-creator of Selenium, held an online presentation devoted to covering the essentials of this new testing tool that combines the best of WebDriver and Selenium.

Here’s a run-down of what was covered:

* iPhone and Android testing – See how Selenium 2 allows you to use built-in Android and iPhone emulators to test versions of your applications on the most popular mobile platforms.

* Cleaner API for IDE users – Selenium introduces a simplified interface for IDE users that directs you to focus on only two basic objects to construct tests: WebDriver (browsers) and WebElements (anything on a web page). In Selenium 2, every API library is now tailored to each programming language for easier usability.

* Enhanced scalability – The new Selenium 2 architecture allows developers and QA teams to “scale up and down”. For a single test on a local machine, you no longer need a background server. But when you want to scale up to run tests across multiple machines with multiple browser configurations, Selenium has all the power you’ll need.

* Improved architecture – The new Selenium 2 architecture has enabled the introduction of a number of features that developers and QA pros will love, including native keyboard, support for mouse events, improved capabilities for handling pop-ups, and more stable browser control.

Published in: Technology
2 Comments
10 Likes
Statistics
Notes
No Downloads
Views
Total Views
9,209
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
297
Comments
2
Likes
10
Embeds 0
No embeds

No notes for slide

Selenium 2 Webinar: The Next Generation of Web and Mobile Application Testing

  1. 1. Selenium 2 Jason HugginsCo-creator, The Selenium ProjectCo-founder, CTO, Sauce Labs Inc twitter: @hugs email: hugs@saucelabs.com
  2. 2. Agenda• Overview of Selenium • Selenium IDE, RC, Grid• Why Selenium 2?• Demos!• Q&A
  3. 3. What is Selenium? = +
  4. 4. The Problem
  5. 5. Selenium IDE for Firefox
  6. 6. !"#$%"&$(%)$* 6 +%%,-..///01*234)03$#.,+$%$5.23"6$(".789:;8<=:
  7. 7. Selenium Remote Control Selenium RC Server Python, Ruby, Your AwesomeJava, C#, or Perl HTTP HTTP HTTP Web App Test Script
  8. 8. Example Selenium RC Test - Java
  9. 9. Example Selenium RC Test - C#
  10. 10. !"#$Selenium Grid %&&())***+,-#./"+.01)%0&02)$345)678
  11. 11. Servers Time Unit of Work
  12. 12. Servers Time Unit of Work
  13. 13. Why Selenium 2?
  14. 14. Mobile
  15. 15. Types of Mobile Testing• Emulator• Real device (tethered to workstation)• Real device in a real location on a real network
  16. 16. Native vs Web
  17. 17. Life before the Web Total Application Market
  18. 18. Yesterday JS+HTMLTotal Application Market
  19. 19. Today JS+HTML5Total Application Market
  20. 20. Data?
  21. 21. Sencha
  22. 22. SproutCore
  23. 23. SproutCore
  24. 24. PhoneGap
  25. 25. Today Selenium lives here! JS+HTML5Total Application Market
  26. 26. Today JS+HTML5Total Application Market
  27. 27. Tomorrow Selenium lives here! JS+HTML5Total Application Market
  28. 28. The Pareto Principle
  29. 29. AKA (“The Pacman Problem”) Selenium 1 Selenium 2
  30. 30. Solving the last 20%• Native keyboard & mouse events• Same Origin Policy / XSS / HTTP(S)• Pop-ups, dialogs – Basic Authentication – Self-signed certificates – File upload/download
  31. 31. Cleaner API• WebDriver Object• WebElement Objects
  32. 32. Other Benefits• Improved architecture• Removing road-blocks, hacks, and workarounds• Scales down (more developer friendly) experience
  33. 33. Selenium Remote Control Selenium RC Server Python, Ruby, Your AwesomeJava, C#, or Perl HTTP HTTP HTTP Web App Test Script
  34. 34. Selenium 2 Selenium RC Server Python, Ruby, Your AwesomeJava, C#, or Perl HTTP HTTP HTTP Web App Test Script
  35. 35. Python, Ruby, Your AwesomeJava, C#, or Perl HTTP HTTP Web App Test Script
  36. 36. Python, Ruby, Your AwesomeJava, C#, or Perl C/C++ HTTP Web App Test Script
  37. 37. Running a server is now optional! Selenium Grid Python, Ruby, Your AwesomeJava, C#, or Perl HTTP HTTP HTTP Web App Test Script
  38. 38. Demo!
  39. 39. Q&A
  40. 40. Selenium 2 Jason HugginsCo-creator, The Selenium ProjectCo-founder, CTO, Sauce Labs Inc twitter: @hugs email: hugs@saucelabs.com
  1. A particular slide catching your eye?

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

×