1 / 17

Automation of Software Test

Automation of Software Test. Eunyoung Hwang. Agenda. What is software test automation? pros and cons Return on investment (ROI) Test automation tools Demo for Selenium IDE . Motivation!. 143,529,861 Links. Test Automation . To automate a manual process by using testing tool

bonita
Download Presentation

Automation of Software Test

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Automation of Software Test EunyoungHwang

  2. Agenda • What is software test automation? • pros and cons • Return on investment (ROI) • Test automation tools • Demo for Selenium IDE

  3. Motivation! 143,529,861 Links

  4. Test Automation • To automate a manual process by using testing tool • The use of software to control the execution of tests • The comparison of actual outcomes to predicted outcomes • The setting up of test preconditions, other test control , test reporting functions • Using the right tool for the project can reduce time and costs

  5. Pros. And Cons.

  6. Return on Investment gains costs By company, Keane

  7. Return on Investment By company, Keane

  8. Two General Approaches • Code-driven testing • Uses testing frameworks such as the xUnits (eg. Junit, PHPUnit) • Executes unit tests to verify that the program runs as expected • Key feature of Agile software development for Test-driven development • Graphical user interface testing • Allows users to interactively record and playback any number of times, comparing actual results to those expected • Pros - requires little or no software development on any GUI application • Cons - relabeling a button or moving it to another part of the window may require re-recording

  9. Tools

  10. Simple example in PHPUnit (1) Regular PHP code Simple Automated Testing Code

  11. Simple example in PHPUnit (2) Testing array operations with PHPUnit

  12. Selenium RC and PHPUnit Selenium RC is a test tool that allows you to write automated user-interface tests for web applications in any programming language Result if fails

  13. Selenium IDE

  14. Summary • Test automation • pros and cons • Return on investment (ROI) • Tools • PHPUnit • Selenium IDE

  15. References • [1] http://www.opensourcetesting.org • [2] http://www.nickjenkins.net/prose/testingPrimer.pdf • [3] http://www.softwareqatest.com/qatweb1.html • [4] http://www.keane.com/resources%2Fpdf%2FWhitePapers%2FWP_ROIforTestAutomation.pdf • [5] JussiKasurinen, OssiTaipale, and Kari Smolander, “Software Test Automation in Practice: Empirical Observations,” Advances in Software Engineering, vol. 2010, Article ID 620836, 18 pages, 2010. doi:10.1155/2010/620836 • [6] http://www.csd.uwo.ca/courses/CS614b/DiLoreto1.pdf • [7] http://en.wikipedia.org/wiki/Test_automation

  16. Backup Slides

  17. Return on Investment By company, Keane 3

More Related