Using xml for test case definition storage and presentation
Download
1 / 10

Using XML for Test Case Definition, Storage and Presentation - PowerPoint PPT Presentation


  • 54 Views
  • Uploaded on
  • Presentation posted in: General

Using XML for Test Case Definition, Storage and Presentation. Michael Ensminger (mensming@ieee.org). Motivation. Why use XML / XSL for test management? Personnel experience Tool availability Easily processed, extended, transformed As a way to explore web services

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha

Download Presentationdownload

Using XML for Test Case Definition, Storage and Presentation

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Using xml for test case definition storage and presentation

Using XML for Test Case Definition, Storage and Presentation

Michael Ensminger (mensming@ieee.org)


Motivation

Motivation

  • Why use XML / XSL for test management?

    • Personnel experience

    • Tool availability

    • Easily processed, extended, transformed

    • As a way to explore web services

    • Separate the presentation from the underlying data


Xml xsl basics

XML / XSL Basics

  • XML Documentsexample

    • Well formed

    • Valid

  • Defining the structure

    • Data Type Definition (DTD)example

    • XML Schemaexample

  • Extensible Stylesheet Language for Transformations (XSLT)XSL, html


How to store xml data

How to Store XML Data?

  • Flat File(stylesheet extensions)

  • Relational Database (simple db schema)

  • XML Database

    • XML extensions to traditional databases

    • XML specific databases


Simple test case xml xsl

Simple Test Case XML / XSL

  • Minimal Test Case Contains:

    • Unique Identifier

    • Short description of purpose

    • Setup / pre-conditions

    • Expected results

  • Sample simple test case XML document (ex. A, B)

  • DTD definition of structure of simple test case

  • Sample transformation to HTML (ex. A, B)

  • Simple test case XSL

  • Schema definition of structure of simple test case


Full featured test suite xml xsl

Full Featured Test Suite XML / XSL

  • Expand definition of document to be a suite of test cases

  • Sample full featured test suite XML document

  • XML Schema definition of full featured test suite document

  • Example transformation to HTML of test suite

  • Full Test Suite XSL


Other uses for xml xsl in test management

Other Uses for XML / XSL in Test Management

  • Test execution results

    Sample XMLFull Detail XSLFull Detail HTML

    Summary XSLSummary HTML

    Bugs Entered XSLBugs Entered HTML

    Failed Test Cases XSLFailed Test Cases HTML

  • Transform into SQL statements

    Sample XML AInsert XSLInsert SQL A, B

    Sample XML BUpdate XSLUpdate SQL A, B

  • Other test documentation

  • Automation


Next steps

Next Steps

  • Flesh out test suite definition, execution results, etc.

  • Develop database backend

  • Interface for inserting and updating test cases, updating execution results, etc.


Questions contact info

Questions / Contact Info

  • Questions?

  • Paper, slides and examples available at http://www.meesqa.com/pnsqc_2002/pnsqc_2002.html

    Michael Ensminger

    mensming@ieee.org


ad
  • Login