End-to-end Web Ttesting with Selenium (php|works 2008)

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

    1 Favorite

    End-to-end Web Ttesting with Selenium (php|works 2008) - Presentation Transcript

    1. End-to-end Web Testing with Selenium Stefan Priebsch, e-novative GmbH php|works 2008, Atlanta, GA
    2. About Me ● Stefan Priebsch ● From Munich, Germany ● Degree in computer science ● PHP enthusiast since PHP 4.0b3 ● Consultant, Trainer, Author ● I help customers make better use of PHP
    3. How do you test web applications?
    4. Testing in a Nutshell ● Compare calculation result with expected value ● Automate it ● Repeat it (often)
    5. Types of Tests ● Unit Tests ● System Tests ● Acceptance Tests ● Integration Tests ● Performance Tests ● Load Tests ● Usability Tests ● ... and don't forget security!
    6. System Tests
    7. 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
    8. Selenium IDE ● Capture & Replay Tool ● IDE for tests ● Firefox plugin ● http://selenium-ide.openqa.org/
    9. Live Demo
    10. Selenium RC ● Browser Remote Control ● Supports most current browsers ● Java Proxy ● http://selenium-rc.openqa.org/
    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. Virtual Machines ● XEN, KVM, VirtualBox, VMware ● Test automation requires ● Snapshot Management ● Scripting (VM start and stop)
    15. Putting It Together ● setUp() ● Start virtual machine ● Install application ● Run test ● tearDown() ● Shutdown virtual machine ● Rollback to latest snapshot
    16. 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
    17. Thank you.
    18. http://www.priebsch.de stefan.priebsch@e-novative.de Profiles at Xing, LinkedIn, Facebook

    + Stefan PriebschStefan Priebsch, 2 years ago

    custom

    1909 views, 1 favs, 1 embeds more stats

    It has long been said that web sites and web applic more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1909
      • 1843 on SlideShare
      • 66 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 87
    Most viewed embeds
    • 66 views on http://www.priebsch.de

    more

    All embeds
    • 66 views on http://www.priebsch.de

    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