End To End Web Testing With Selenium

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    7 Favorites

    End To End Web Testing With Selenium - Presentation Transcript

    1. End-to-end Web Testing with Selenium
      • Stefan Priebsch, e-novative GmbH
      • ZendCon 2008, Santa Clara, CA
    2. How do you test web applications?
    3. Testing in a Nutshell
      • Compare calculation result with expected value
      • Automate it
      • Repeat it (often)
    4. Types of Tests
      • Unit Tests
      • System Tests
      • Acceptance Tests
      • Integration Tests
      • Performance Tests
      • Load Tests
      • Usability Tests
      • ... and don't forget security!
    5. System Tests
    6. The Request Cycle
      • Browser requests URL
      • PHP generates HTML page
      • Browser creates DOM tree
      • Browser renders page
      • Javascript transforms DOM tree
      • Browser re-renders page
      • Action triggers new request
    7. Selenium IDE
      • Capture & Replay Tool
      • IDE for tests
      • Firefox plugin
        • http://selenium-ide.openqa.org/
    8. Live Demo
    9. Selenium RC
      • Browser Remote Control
      • Supports most current browsers
      • Java Proxy
        • http://selenium-rc.openqa.org/
    10.  
    11. PHPUnit Integration
      • http://www.phpunit.de
        • pear channel-discover pear.phpunit.de
        • pear install phpunit/phpunit
      • PHPUnit_Extensions_SeleniumTestCase
    12. Live Demo
    13. Continuous Integration
      • CruiseControl, Continuum, Xinc
        • http://cruisecontrol.sourceforge.net/
      • PHPUnderControl
        • http://www.phpundercontrol.org
    14.  
    15.  
    16. Virtual Machines
      • XEN, KVM, VirtualBox, VMware
      • Test automation requires
        • Snapshot Management
        • Scripting (VM start and stop)
    17. Putting It Together
      • setUp()
        • Start virtual machine
        • Install application
      • Run test
      • tearDown()
        • Shutdown virtual machine
        • Rollback to latest snapshot
    18. This Gives You
      • A flexible low-cost test lab to test your web application
        • against different browsers
        • against different operating systems
        • against different databases
        • in different configurations
        • different application versions
    19. Thank you.
    20. http://inside.e-novative.de (en) http://www.priebsch.de (de) [email_address]
    21.  

    + Stefan PriebschStefan Priebsch, 2 years ago

    custom

    4152 views, 7 favs, 19 embeds more stats

    How to automate system tests for web applications w more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 4152
      • 3795 on SlideShare
      • 357 from embeds
    • Comments 0
    • Favorites 7
    • Downloads 297
    Most viewed embeds
    • 156 views on http://inside.e-novative.de
    • 88 views on http://www.priebsch.de
    • 78 views on http://www.planet-php.net
    • 11 views on http://www.planet-php.org
    • 9 views on http://planet-php.org

    more

    All embeds
    • 156 views on http://inside.e-novative.de
    • 88 views on http://www.priebsch.de
    • 78 views on http://www.planet-php.net
    • 11 views on http://www.planet-php.org
    • 9 views on http://planet-php.org
    • 2 views on http://www.phpeye.com
    • 1 views on http://www.cnzxh.net
    • 1 views on http://new.priebsch.de
    • 1 views on http://localhost
    • 1 views on http://66.102.9.104
    • 1 views on http://kb.gizmocraft.net
    • 1 views on http://www.phpmetablog.com
    • 1 views on http://planet-php.net
    • 1 views on http://lj-toys.com
    • 1 views on file://
    • 1 views on http://phpeye.com
    • 1 views on applewebdata://4991556A-CC3D-48CB-97B7-4DAE81DF82CC
    • 1 views on http://www.heise.de
    • 1 views on http://www.mefeedia.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories