1 A Test Automation Tool For Java Applets Testing of Web Applications TATJA Program Demonstration Conclusions By Matthew Xuereb.

Slides:



Advertisements
Similar presentations
Web 2.0 Programming 1 © Tongji University, Computer Science and Technology. Web Web Programming Technology 2012.
Advertisements

1. XP 2 * The Web is a collection of files that reside on computers, called Web servers. * Web servers are connected to each other through the Internet.
Datamax/MCL Off-Line License Activation Method
1 Applets Programming Enabling Application Delivery Via the Web.
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Copyright © 2003 Pearson Education, Inc. Slide 5-1.
Copyright © 2003 Pearson Education, Inc. Slide 6-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
An Overview of the Integration of the UCSF Dept. of Radiology Teaching File with MIRC Wyatt M. Tellis University of California San Francisco Departments.
1 jNIK IT tool for electronic audit papers 17th meeting of the INTOSAI Working Group on IT Audit (WGITA) SAI POLAND (the Supreme Chamber of Control)
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
©2003 aQute, All Rights Reserved Tokyo, August 2003 : 1 OSGi Service Platform Tokyo August 28, 2003 Peter Kriens CEO aQute, OSGi Fellow
1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 7 1 Microsoft Office Word 2003 Tutorial 7 – Collaborating With Others and Creating Web Pages.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Introduction to HTML, XHTML, and CSS
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Creating Data Entry Screens in Epi Info
ZMQS ZMQS
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
Overview Environment for Internet database connectivity
Configuration management
Software change management
ABC Technology Project
1 What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight.
The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that.
Executional Architecture
Getting Familiar with Web Pages 1 2 The Internet Worldwide collection of interconnected computer networks that enables businesses, organizations, governments,
SIMOCODE-DP Software.
Essentials for Design JavaScript Level One Michael Brooks
Addition 1’s to 20.
25 seconds left…...
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Week 1.
We will resume in: 25 Minutes.
1 Unit 1 Kinematics Chapter 1 Day
How Cells Obtain Energy from Food
1 XML Web Services Practical Implementations Bob Steemson Product Architect iSOFT plc.
The Web Warrior Guide to Web Design Technologies
Lecture Bells and Whistles. Ways to Enhance Websites Java Script and Java Sound and Video Flash XML (Extended Markup Language Database Connectivity Ecommerce.
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
Active X Microsoft’s Answer to Dynamic Content Reference: Using Active X by Brian Farrar QUE
Introduction to eValid Presentation Outline What is eValid? About eValid, Inc. eValid Features System Architecture eValid Functional Design Script Log.
Unit 2, Lesson 5 Website Development Tools AOIT Web Design Copyright © 2008–2012 National Academy Foundation. All rights reserved.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
JavaScript and The Document Object Model MMIS 656 Web Design Technologies Acknowledgements: 1.Notes from David Shrader, NSU GSCIS 2.Some material adapted.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
Section 10.1 Define scripting
Lecture Bells and Whistles.
Unit 2, Lesson 5 Website Development Tools
Unit 2, Lesson 5 Website Development Tools
Web UI testing automation and Selenium
Web Application Development Using PHP
Presentation transcript:

1 A Test Automation Tool For Java Applets Testing of Web Applications TATJA Program Demonstration Conclusions By Matthew Xuereb

2 Testing of Web Applications 3 main areas of testing: Content Testing Security Testing Functional Testing Each area has testing tools tailor made for it. Testing of Web Applications [1/7]

3 Content Testing Testing of the visible part of the web site Testing Tools: W3C Consortium Free Online Tools: Markup Validator Link Checker CSS Validator …and more Testing of Web Applications [2/7]

4 Security Testing Testing for security threats within the web application Testing tools: OWASP open source testing tools Commercial tools: Acunetix SecurityInnovation SpyDynamics Testing of Web Applications [3/7]

5 Functional Testing Testing of the business logic of the web application Testing tools: Open source tools: Selenium MaxQ Commercial tools: iMacros WAPT Testing of Web Applications [4/7]

6 Selenium Pros: Executes directly in Web Browser Platform & Browser independent Supports a wide range of programming languages Cons : Not capable of testing Java Applets Testing of Web Applications [5/7]

7 Testing of Java Applets Tools Available: Conventional Java GUI testing tools Are not a web application testing tool Treats a Java Applet as a conventional GUI application iMacros Makes use of image recognition technology to capture and playback events Can be used to test different types of media files (Flash, Shockwave, ActiveX, …) – not Java Applet specific It is a commercial tool ($ per license) Testing of Web Applications [6/7]

8 Conclusion (Testing of Web Applications) There are tools to test the different areas of Web Applications However there isnt a tool tailor made specifically to test Java Applets The aim of this FYP is to develop a test automation tool for Java Applets - TATJA Testing of Web Applications [7/7]

9 TATJA A browser and platform independent tool to test Java Applets Applets are tested in their actual running environment A record/playback testing tool Supports regression testing Does not makes used of any other third party scripting languages Is a flexible tool TATJA [1/12]

10 TATJA Overview [1/3] Software Wrapping Activity Diagram: TATJA [2/12]

11 TATJA Overview [2/3] TATJA is in itself a Java Applet The Applet to be tested is loaded within TATJA TATJA wraps within it the Applet to be tested TATJA can gain access to each component of the Applet to be tested TATJA can be operated in two modes Record Mode Playback Mode TATJA [3/12]

12 Flexibility The actions that can be performed on the Applets components are defined by the user through an XML document (TatjaML) Reason To make the tool compatible with all possible Java Swing component TATJA Overview [3/3] TATJA [4/12]

13 TATJA Basic Building Blocks User Interface Applet Wrapper Recorder Handler Playback Handler Regression Test Runner Component Identification Mechanism TATJA [5/12]

14 TATJA in Record Mode [1/2] The user records the test actions on the components of the Applet to be tested Test actions includes: Button clicks Text input to text fields Mouse clicks The test actions are converted into Java code and stored in Java classes. 1 Test Case => 1 Java Method TATJA [6/12]

15 TATJA in Record Mode [2/2] Block Diagram: When test cases are recorded, they can be edited/enhanced by the user manually TATJA [7/12]

16 TATJA in Playback Mode The User loads the Java Class with the test cases Selects the test method and executes it Block Diagram: TATJA [8/12]

17 Regression Tests in TATJA [1/2] The Applet to be tested is wrapped within another Applet A Java method that invokes a selection of test cases written within this Applet wrapper An HTML document that embeds the Applet to be tested is generated A JavaScript call to the Java method listed in the second bullet By loading the generated HTML page in a browser, the test cases are executed automatically TATJA [9/12]

18 Regression Tests in TATJA [2/2] Block Diagram: TATJA [10/12]

19 The TatjaML Document [1/2] Has a list of all the actions that can be performed on each component An action can be: A method call on the component An event Each action includes the information that is needed by TATJA to dynamically perform it Which method to invoke Which event listener to create Which event Object to pass …and more TATJA [11/12]

20 The TatjaML Document [2/2] Snippet: boolean ActionListener ^ 3 ^getActionCommand TATJA [12/12]

21 Program Demonstration Program Demonstration [1/1]

22 Conclusions TATJA was tested with existing Java Applets of different types on different browsers The desired functionality was obtained and the testing tool gave the expected results All objectives set for this project were successfully achieved Conclusions [1/1]