1 / 18

Outline

An Automated Approach for Acceptance Web Test Case Modeling and Executing XP , 2010 102522064 蔡侑儒 Felipe M. Besson , Delano M. Beder , and Marcos L. Chaim School of Arts, Sciences and Humanities University of S˜ao Paulo. Outline. Introduction Related Work The Approach

gabe
Download Presentation

Outline

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. An Automated Approach for Acceptance WebTest Case Modeling and ExecutingXP ,2010102522064 蔡侑儒Felipe M. Besson , Delano M. Beder , and Marcos L. ChaimSchool of Arts, Sciences and Humanities University of S˜ao Paulo

  2. Outline • Introduction • Related Work • The Approach • Conclusions

  3. Reason for reading this research ? • Web applications Become an essential part of many business strategies • Highly competitive environment • Frequent changes • Frequent customer’s feedbacks • Short deadlines • Highly customized • Incremental deliverables

  4. Introduction Agile software development processes Test-Driven Development (TDD) Drawback : tests are only written by the developer • Acceptance Test-Driven Development (ATDD) Acceptance tests written by the customer Understanding exactly what customers want

  5. Related Work A Web Testing Model - by Qianet al A web application is defined in a PFD (Page Flow Diagram) Then converted into a PTT (Page Test Tree)

  6. Related Work • Test case skeletons • derived from tree paths

  7. Related Work • The ATTD current approaches and tools • Difficult to use • Need to learn new programming language • Bad interface

  8. The goal of this approach • Graphical interface • Assist developers to automatically generate acceptance tests • Supply a communication interface between the customer and the development team • Automatically execute acceptance test cases

  9. The Approach

  10. Tools Suite • Two tools are both open source • AcceptLink : • Correspond to a web application developed in PHP and Java • steps 1 to 5 • AWTAF (Automated Web Test Application Framework) : • Automate web functional tests execution using Selenium RC, HttpUnit or HtmlUnit • step 6

  11. Ex. Book shop website books are added into the shopping cart Sign in debit Choose the type of payment First purchase? Confirm credit card Sign up

  12. Step 1

  13. Step 2 • Each user story is mapped into a graph • Based on Qian’s work • removes the existing cycles • generates a test tree

  14. Steps 3 and 4 • All the testing scenarios generated are displayed • the customer and developers discusses and validates • If the customer considers a particular scenario correct • inform the inputs and expected results • If not • steps 1, 2 and 3 have to be do again until the customer considers it correct.

  15. Step 5 • Finally • Testing scenarios are converted into automated test scripts

  16. Step 6 • Then • Use AWTAF tool to run the automated acceptance test case modeled

  17. Conclusions • This paper described an approach to assist the ATDD use in web applications. • In comparison to current ATTD tools • supporting customer-developement team communication • test scenario selection using a summary graph New features allowing to test AJAX features are under study Further experiments are planned

  18. Q&A

More Related