A Self-Configuring Test Harness for Web Applications Jairo Pava School of Computing and Information Sciences Florida International University Courtney.

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

Configuration management
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
Agenda Web Application Web Page development WAMP
Towards Self-Testing in Autonomic Computing Systems Tariq M. King, Djuradj Babich, Jonatan Alava, and Peter J. Clarke Software Testing Research Group Florida.
A Self-Configuring Test Harness for Web Applications Jairo Pava School of Computing and Information Sciences Florida International University Courtney.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
By: Gerardo L. Mazzola Web Application Development Life Cycle “A driven force moving businesses into the future.”
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
Web Design Basic Concepts.
UNIT-V The MVC architecture and Struts Framework.
Rajeswari Indupuri Introduction to.NET Framework.
WEB329 ASP.NET: A Lap Around the New Enhancements for Web Developers in Microsoft Visual Studio 2005 Omar Khan Lead Program Manager Web Platform and Tools.
 Computer Information System Club focused on the understanding and applied learning of web development.  The club was founded in April 5,  We.
Chapter 11-Multimedia Authoring Tools. Overview Introduction to multimedia authoring tools. Types of authoring tools. Cross-platform authoring notes.
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Model Bank Testing Accelerators “Ready-to-use” test scenarios to reduce effort, time and money.
ISYS 512 Business Application Design and Development with.Net David Chao.
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
An Approach to Test Autonomic Containers Ronald Stevens (IEEE Computer Society & ACM Student Member) August 1, 2006 REU Sponsored by NSF.
PHP Professor Waterman. Agenda What is PHP Versions HTML Dynamic Web sites Interactive Web Sites Installing PHP Transfer pages to a Web hosting service.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
4 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
Introduction to ASP.NET 1www.tech.findforinfo.com.
CakePHP is an open source web development framework. It follows Model-View- Controller and is developed using PHP. IT is the basic for user to create.
WebVizOr: A Fault Detection Visualization Tool for Web Applications Goal: Illustrate and evaluate the uses of WebVizOr, a new tool to aid web application.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
FlexElink Winter presentation 26 February 2002 Flexible linking (and formatting) management software Hector Sanchez Universitat Jaume I Ing. Informatica.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
A Framework to Test Autonomic Containers Brittany Parsons and Ronald Stevens July 6, 2006 REU Sponsored by NSF.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
A Self-Configuring Test Harness for Web Applications Jairo Pava School of Computing and Information Sciences Florida International University Courtney.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
Survey of Tools to Support Safe Adaptation with Validation Alain Esteva-Ramirez School of Computing and Information Sciences Florida International University.
CIS 375—Web App Dev II ASP.NET 1 Getting Started.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
ASP.NET – Active Server Pages ASP.NET is a server-side technology for developing web applications based on the.NET Framework.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
CSE3310: Web training A JumpStart for Project. Outline Introduction to Website development Web Development Languages How to build simple Pages in PHP.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
Postage Statement Wizard Mail.dat Web Services Presented by: (insert name here) The 1, 2, 3 of Electronic Postage Documentation.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
Chapter 13 Web Application Infrastructure
Introduction ITEC 420.
Web Programming Language
Leverage your Business with Selenium Automation Testing
Florida Gulf Coast University
CE-105 Spring 2007 Engr. Faisal ur Rehman
Programming Concepts and Languages
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
Web Development Using ASP .NET
Autonomic Request Scheduling Container
Web Servers (IIS and Apache)
Mark Quirk Head of Technology Developer & Platform Group
Web Application Development Using PHP
Presentation transcript:

A Self-Configuring Test Harness for Web Applications Jairo Pava School of Computing and Information Sciences Florida International University Courtney Enoex School of Applied Sciences and Arts Southern Illinois University 07/14/2008 REU Summer Program Florida International University School of Computing and Information Sciences Yanelis Hernandez PhD Student

Motivation 2 Many Many web application technologies Complex Complex web applications make testing difficult No No standard test script language Migration Migration of technologies inefficient Cost Cost of software testing accounts for fifty to seventy-five percent of total development costs [1]

Presentation Content 3 Motivation Objectives Literature Review Progress Made Implementation Pending Work

Objectives 4 Extend Previous Work by Hernandez, et al. Extend Previous Work by Hernandez, et al. [2] Implement concept of platform independent model Include more web technologies Create Self-Configuring Algorithm Dynamic selection of test suites Automatic execution of platform specific test scripts Implementation Design and test web applications Deliverables Deliverables Technical Report ACM SAC 2009 ACMSE 2009

Literature Review - Technologies 5 Ruby on Rails [4] Released in 2004 Provides scaffolding, WEBrick, and Rake Helpful tools are ready for use PHP [7] PHP: Hypertext Preprocessor HTML-embedded scripting language Widely-used; installed on more than 20 million websites ASP.NET [8] Developed by Microsoft Part of the.NET Framework Write in Visual Basic, C#, JScript.NET, or J# Dynamic Web Development Technologies:

6 Literature Review – Testing Tools Ruby on Rails [4] Built in unit tests– Test::Unit library Generates a test infrastructure upon project creation PHPUnit [3] Simple pass/fail reporting Use with PHPUnit Database Extension Compare (seeded) database contents with an expected dataset NUnitASP [6] Tester objects represent web page elements Example– “label” or “link” Clean test scripts Unit Testing: Unit Testing: Creating programs that test the validity of parts (units) of the website.

7 Literature Review – Code Coverage Tools RCov [9] Gives summary and per-file coverage reports Well supported and documented Xdebug [7] PHPUnit extension Code executed  green; executable code that was not executed  red; “dead code”  orange NCover [10] Save coverage data as XML file Offers client support via subscription Code Coverage Testing: Code Coverage Testing: These tools are able to test test scripts for the amount of code they cover!

Problem Statement 8 To develop a web application test harness that dynamically configures its test suite to generate and execute platform specific test scripts.

Current State Web Application 9

Knowledge Facilitates the exchange and archival of management information Extends flexibility of test harness Goal Policies User defined Models PIM PSM Test Scripts PI PS Test Results Pass/Fail Code Coverage Analysis Runtime Policies Generated by MAPE 10

Monitor Outline a profile for every web page in the web application Identify unfulfilled policies Analyzer Identify and locate appropriate platform specific model for test script generation Generate test report Planner Generate and keep track of platform specific test scripts Executor Execute tests and track code coverage MAPE Policy Generation 11

Autonomic Manager 12

Category C:\...\category.php HTML PHP Monitor Output 13

Implementation FastBooks.com e-commerce web application Web Technologies used Ruby on Rails 1.2 PHP 5 Testing Tools Ruby 1.8 PHPUnit 3.3 Code Coverage Analysis Tool RCOV Xdebug

Ruby on Rails PHP Test Script Comparison 15

Pending Work Planner Platform Independent Model Platform Specific Models Ruby on Rails PHP ASP.NET Executor Automatic test script execution with code coverage analysis Perform action based on test result and user defined policy 16

References [1] Software Debugging, Testing, and Verification IBM Systems Journal 2002 [2] A Meta-Model to Support Regression Testing of Web Applications Yanelis Hernandez, Tariq M. King, Jairo Pava, Peter J Clarke International SEKE Conference April 2008 [3] PHPUnit [4] Ruby on Rails [5] Xdebug [6] NUnitASP 17

References [7] PHP [8] ASP.NET [9] RCOV [10] NCover 17

Questions? Comments? End 18