Testing XML Pallavi Patwa CSTE,ISTQB (Foundation).

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Web Development & Design Foundations with XHTML
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
An Introduction to XML Based on the W3C XML Recommendations.
1 Lesson 10 Using JavaScript with Styles HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
XML Unit 6 October 31. XML, review XML is used to markup data Used to describe information Uses tags like HTML –But all tags are user-defined –Must be.
XHTML1 Building Document Structure. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML) documents.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
XML(EXtensible Markup Language). XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe.
The Information School at the University of Washington LIS 549 U/TU: Intro to Content Management Fall 2003 * Bob Boiko * MSIM Associate Chair XML Schemas.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Introduction to XML This material is based heavily on the tutorial by the same name at
Copyright © 2003 Pearson Education, Inc. Slide 2-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
ECA 228 Internet/Intranet Design I Intro to XML. ECA 228 Internet/Intranet Design I HTML markup language very loose standards browsers adjust for non-standard.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
What is XML? XML stands for EXtensible Markup Language
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
Objectives: 1. Create a Skeleton HTML 2. View a Skeleton File Through a Server and Browser 3. Learn HTML Body Tags for the Display of Text and Graphics.
August Chapter 2 - Markup and Core Concepts Learning XML by Erik T. Ray Slides were developed by Jack Davis College of Information Science and Technology.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
CIS 275—Web App Dev I XML. 2 Introduction to XMLXML XML stands for ________________________. HTML was designed to display data. XML was designed to _________.
TUTORIAL Dolphy A. Fernandes Computer Science & Engg. IIT Bombay.
META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an.
WEB APPLICATION DEVELOPMENT For More visit:
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
17 Apr 2002 XML Syntax: Documents Andy Clark. Basic Document Structure Element tags – Elements have associated attributes Text content Miscellaneous –
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Basic Table Elements. 2 Objectives Define table elements Describe the steps used to plan, design, and code a table Create a borderless table with text.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
Kevin Murphy Basics of XML Masters Project CS 490.
Using XML to store Descriptive Metadata Richard Murphy Rosarie O’Riordan Central Statistics Office Ireland.
HTML.
Advanced Technical Writing 2006 Session #4. Today in Class… ► Meet with your editorial team, refine/post deliverables ► Send URL for deliverables to Bill.
INFSY 547: WEB-Based Technologies Gayle J Yaverbaum, PhD Professor of Information Systems Penn State Harrisburg.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
CIS 375—Web App Dev II DTD. 2 Introduction to DTD DTD stands for ______________________. The purpose of a DTD is to define the legal building blocks of.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
Representing data with XML SE-2030 Dr. Mark L. Hornick 1.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML DTD. XML Validation XML with correct syntax is "Well Formed" XML. XML validated against a DTD is "Valid" XML.
Unit 3 — Advanced Internet Technologies Lesson 10 — Introduction to XHTML.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
XML Extensible Markup Language
Project 02 Creating and Editing a Web Page Concept Map of Unit Creating and Editing a Web Page Key Learning Understand the elements to create a web page.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
CITA 330 Section 2 DTD. Defining XML Dialects “Well-formedness” is the minimal requirement for an XML document; all XML parsers can check it Any useful.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
Document Type Definition
The Object-Oriented Thought Process Chapter 11
Eugenia Fernandez IUPUI
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Pallavi Patwa CSTE,ISTQB (Foundation)
XML Data DTDs, IDs & IDREFs.
Lesson 4: Hyperlinks.
CSE591: Data Mining by H. Liu
Separating activities
Presentation transcript:

Testing XML Pallavi Patwa CSTE,ISTQB (Foundation)

Agenda  About Checking XML  XML Verifications & Validations  Tools available  Use of Tools

About Checking XML  XML files contain text with simple tags that describe the data within an XML document.  Testing of XML can be done by verifying data content of XML files  A few common XML verifications & validations are described as follows

XMLVerifications&Validations XML Data Verification Verification DTDValidation XML Elements Verification Verification Schema Validation Validation

XML Data Verification  An XML file can be a static data file that is accessed in order to retrieve commonly used data for which a quick response time is needed for example, country names, zip codes, or area codes. for example, country names, zip codes, or area codes.  Although this data can change over time, it is normally quite static. ( Cont..) ( Cont..)

XML Data Verification (cont..)  You can test an XML file by verifying that the data has not changed from one application release to another.

XML Elements Verification  An XML file can consist of elements with attributes and values (character data).  There is a parent and child relationship between the elements, and elements can have attributes associated with them. ( Cont..) ( Cont..)

XML Elements Verification (cont..)  If any part of this structure (including data) changes, your application’s ability to process the XML file may be affected.  For an XML testing, you can verify the content of an element to make sure that its tags, attributes, and values have not changed.

DTD Validations  XML files are often an intermediary that retrieves dynamically changing data from one system.  The data is then accessed by another system using Document Type Definitions (DTD), enabling the accessing system to read and display the information in the file. ( Cont..) ( Cont..)

DTD Validation (cont..)  You can parameterize the XML data values in order to check an XML document or file whose data changes in a predictable way.

Schema Validation  XML documents and files often need a well- defined structure in order to be portable across platforms and development systems.  One way to accomplish this is by developing an XML schema, which describes the structure of the XML elements and data types. ( Cont..) ( Cont..)

Schema Validation (cont..)  You can validate schema to passing negative & positive data in XML file to check that each item of content in an XML file adheres to the schema description of the element in which the content is to be placed.

Automation of XML checking  Following tools are available to automate XML testing Mercury interactive Quick Test Pro Mercury interactive Quick Test Pro Segue Silk Test Segue Silk Test

Use of Tools (QTP)  QTP supports automation of XML file by way of XML Web Page/Frame Checkpoint:- Checks an XML document within a Web page or frame. XML Web Page/Frame Checkpoint:- Checks an XML document within a Web page or frame. File Checkpoint :- Checks a specified XML file. File Checkpoint :- Checks a specified XML file.

Use of Tools (QTP)  Apart from checking, element(s), attribute(s), and/or value(s) that you want to check.  QTP also helps to check that the XML structure adheres to a specific XML schema, by Activate Schema Validation feature

Use of Tools (Silk Test)  To test XML with help of Silk test XMLParserClass is available

Thank You !!