• Like
Selenium
Upcoming SlideShare
Loading in...5
×
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
8,407
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
577
Comments
0
Likes
6

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. by: tanvir afzal
  • 2. selenium ooh so what is this?
    • in simple terms, selenium is a web testing framework that runs in any browser, suited for:
    • functional testing
    • browser compatibility testing
  • 3. keep it simple, or dig deep
    • just want to try it
    • simplicity – easy to use the selenium IDE to create a single or a complete suite of tests.
    • want to know more about it
    • complete solution - go deep inside selenium to know selenium remote control & grid
  • 4. using selenium
    • tests can be written as HTML markup.
    • test cases can be written in a number of popular programming languages (Java, .NET, Perl, Python and Ruby)
    • it can be run directly in most modern web browsers. selenium can be deployed on windows, linux, and mac.
  • 5. selenium projects
    • selenium IDE
    • selenium core
    • selenium RC
    • selenium grid
  • 6. selenium IDE
    • selenium IDE is a firefox add-on that makes it easy to record and playback tests in firefox.
  • 7. selenium core
    • selenium core tests run directly in a browser , just as real users do .
      • need to copy selenium Core & tests directly into application web server
  • 8. selenium RC
    • selenium remote control is a system that allows to simulate web browsers locally
    • using almost any programming language and testing framework
  • 9. the way RC works http://selenium-rc.openqa.org/
  • 10. selenium grid
    • selenium grid allows several selenium remote control servers to be accessed in parallel by selenium grid server.
  • 11. this is the way how grid works? http://selenium-grid.openqa.org/
  • 12. Which tool I’ll use ?? * = experimental support is available in Selenium RC ** = theoretically possible, but not currently implemented Selenium IDE Selenium Remote Control Selenium Core Browser support Firefox Only Many All requires remote Installation No No Yes supports HTTPS/SSL Yes Yes* Yes supports multiple domains Yes Yes* No requires java No Yes No saves test results to disk No** Yes No language support Selenese Only Many Selenese Only
  • 13. demo
  • 14. tell me how I can use selenium IDE?
    • install selenium as a firefox plug-in
      • http://selenium-ide.openqa.org/download.jsp
    • in firefox browser go to
      • tools > selenium IDE
  • 15. new face of IDE 1.0 beta 2
  • 16. tell me about regression selenium ide ant cruise control
  • 17. projects in cruise control
  • 18. Embedded result file from RC
  • 19. references:
    • selenium main site
      • http://selenium.openqa.org
    • support browser, OS, programming language, testing frameworks can be found here
      • http://selenium.openqa.org/about/platforms.html#browsers
    • command to run RC
      • java -jar selenium-server.jar -htmlSuite "*firefox" "http://www.somewhereinads.net" "E:selenium-remote-control-1.0-beta-1ads egression-testswiad-live runksuite.html" "E:selenium-remote-control-1.0-beta-1ads esults.html"
      • for more help use openqa froum
  • 20. thanks for your patience any question ?? just through on me 