Smoke Test - XML Editor

Last updated: June 25, 2001

This Smoke Test primarily focuses on the RTP portion of the XML Editior, which is the Source page of the XML Editor. It also performs some integration testing. For example, it tests synchronization between the Design and Source pages of the XML Editor, as well as with the Outline and Properties views. It also verifies that files created through the XML File wizard and references to the XML Catalog are supported as expected.

NOTE: XML files are case-sensitive so be sure that things appear exactly as noted.

Setup

Starting Clean

Open an XML Perspective

Project Creation and File Imports

Create/Open/Edit test cases

Create an XML File from scratch

Identify a local DTD (verifies a DTD is immediately recognized; in the past, you had to close and reopen the Workbench)

Create an XML File from an imported DTD

Open an XML File that references a remote DTD

Create and Validate an XML File from a schema

(these steps are taken from the 'Design' smoke test, except the Source Page is the focus)

Open an XML File for a shipped DTD catalog entry

[put in optional section .. this isn't a customer scenerio]
To verify that shipped DTDs are working:

Create an XML File from a new DTD catalog entry

The following comes directly from the 'Design' Smoke Test: XML Catalog for XML Schema

Save/Validate test cases

Saving an XML File
(NOTE: the Identify a local DTD test case tests the save prompt on a file close.)

Saving an XML File across multiple perspectives (optional)

Validating a non well formed XML File (no DTD/Schema)
(NOTE: it's important that the following be typed in. This test case tries to cover some of the more common errors that render an XML file as not being well-formed. It is not intended to verify that all possible errors are being detected and gracefully handled. )

Validate an XML File based on a DTD

Source Specific test cases (optional)

Using the Auto Completion Content Assist Preference

Double-Clicking Within the Source
(NOTE: if you continue to double-click at a given cursor position, the selection area will continue to expand. When the maximum region area has been reached, the next double-click will cause the original selection. So, the selections will wrap/cycle. Cool!).

Formatting a File Created by Different Editors

Other test cases

Associate the XML Editor to a new file type

THE END!