Jump to: navigation, search

XSLT Tools/SmokeScenarios

Revision as of 23:04, 30 August 2008 by D a carver.yahoo.com (Talk | contribs) (New page: These tests are based on chapter 17 of the [http://www.cafeconleche.org/books/bible2/chapters/ch17.html XML Bible: XSLT]. This chapter is also a good introduction for those that aren't fa...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

These tests are based on chapter 17 of the XML Bible: XSLT. This chapter is also a good introduction for those that aren't familiar with XSLT and need a primer on getting started.


  • Create a Project to hold the XML and XSL files. This project will also hold the output for the transformations.
  • Create an XML file that contains the periodic table from Listing 17-1.

XSL Tools Smoke Test Scenarios

The following scenarios will test the basic functionality of the editor. These scenarios are broken into several sections that will test options of the XSL Tools editor and plugins from end to end.

Scenario 1: Simple XSL Stylesheet Editing Test

  1. Create a new XSL File by using the New XSL File Wizaard.
    1. Give the XSL File a name like Scenario1.xsl
    2. Select a normal XSL Stylesheet.
  2. Using the XSL Editor, create the styelsheet in Listing 17-2.
    1. Test Content Assistance for XSLT elements.
      1. Note that currently that within non-xsl elements there isn't content assistance for the elements until an XSL element is added.
  3. Save the File.
  4. Verify that Validation is working as expected.
  5. Verify that Validation Preferences can be changed.

Launching, Debugging

Open and Close Editor
Ensure views are maintained
Add Tests
Element (From Design and Outline)
Complex Type
Simple Type
Attribute Group
Modify names
Attribute Refs and modify refs
Selection Tests
Synchronization between views (Properties, Graph, Source, Outline)
Delete Tests
Delete globals and locals
Drag and Drop
Elements in a sequence
Source Editing
As you type validation
Content Assist
Context Menus
Switch back to the graph view and ensure it is refreshed with any source changes
Add and delete extensions
Add attributes
Change lengths
Add enumerations
Rename a complex type
File creation & saving
Save/Save As
Close without saving
Open existing file
Create new file using new XSD file wizard
Disconnected mode
Dependency validation as of WTP3.0M7. Add validation builder to the project. Introduce a change to a schema that will invalidate an xml file. Ensure the XML file is automatically validated with an error.
XML Catalog
Resolve schemas in jars
Test the Next Catalog. Export and Import catalog files.
Attributes - Value Default and Fixed and Form
Attribute Refs
Generate an XML file from an XSD file
Unused Imports (New to 3.0.1)
Check preferences under XML->XML Schema Files
Test that unused imports and includes are removed

See Also

Click here to view WTP smoke test results.