Selection Tests

Synchronization between Properties, Design, Source, and Outline views: while conducting the Add/Modify tests, delete tests, and drag & drop tests, observe that these three views are synchronized

Note: if the nodes are collapsed and you add a new child, the node will not automatically expand. Therefore to test synchronization, expand the nodes whenever necessary to verify the synchronization between the Outline and Design view

Add/Modify Tests

For the tests where a new item is added:

Verify that the item was successfully added by finding and selecting the item from the Outline view or Design view

Whenever possible, modify the name of the item by changing the Name property in the Properties view under General properties

Tests:

Imports: in the Outline view, right click on the Imports node -> Add Import

Schema: in the Outline view, right click on the Types node -> Add Schema

Service: in the Outline view, right click on the Services node -> Add Service

Port: in the Outline view, right click on a created Service -> Add Port -> add a name or use default -> click Finish

Binding: in the Outline view, right click on the Binding node -> Add Binding

Binding content: in the Outline view, right click on a created Binding -> Generate Binding Content... -> select a Port type and protocol -> press Finish. In the Design view, an arrow from the binding to a portType should be created

Operation: in the Outline view, select a created Port Type and right click -> Add Operation

Fault: in the Outline view, select a created Operation (Operations are found in Port Type -> a created Port Type -> Operation) -> Add Fault

Message via Port Type: in the Outline view, select a created Port Type and expand the node until you see two blue arrows representing Input and Output. Right click on the blue arrow pointing right -> Set Message -> New Message... The newly created message will show up in the Messages node. Right click on the blue arrow pointing left -> Set Message -> Existing Message... -> Choose an existing message -> in the Properties view under General properties, the Message property should match the message you chose

Message: in the Outline view, right click on the Messages node -> Add Message

Part: in the Outline view, right click on a created Message -> Add Part

Repeat the same steps for Design View. The UI element to mouseover and right click for each test is highlighted when selected in the Outline view

Delete Tests

For each of the items created in the Add/Modify test, right click on the item or an equivalent item -> Delete

Drag & Drop

Reorder sequences: in the Design view, right click on a Port Type (the Port type box has a purple circle with a white I) -> Add Operation -> Press the faded gray arrow that appears on the right side of the new Operation (there is a gray arrow for the Input and Output. Once pressed, the name of the Source and Design view should say, "Inline Schema of [WDLN name]". From the Outline view right click on Elements -> Add Element -> right click on the newly created Element -> Set Type -> New... -> ensure the Complex Type option is selected -> press OK -> right click on the new type -> Add Sequence -> right click on the newly created sequence -> Add Element (repeat this several times) -> Reorder the elements in the sequence by dragging in the Design or Outline view and ensure the changes are synchronized in both views and is reflected in the Source view

Reorder parts: verify you can drag and drop the input and output for an operation

Validation

Schema validation: introduce invalid elements/attributes, incorrect types, and break references (change an element's name which has multiple references to it) to a valid WSDL file. Right click on the WSDL file in the Package Explorer -> Validate. A red X should show up because the WSDL file is invalid. Revert the changes and re-validate, the X should disappear (note as you are introducing validation errors, look for red squiggles to verify as you type validation)

Disconnected mode: disconnect your computer from the internet and verify no new errors have occurred because of it via right clicking on the WSDL file in the Package Explorer view -> Validate

Switching between Design and Source view: make sure changes to the source are reflected in the Design view

Export Diagram as Image

From the menubar, WSDL -> Export Diagram as Image -> choose filename -> Press OK. Open the image and ensure the proper image is exported (according to what's shown in the Design view) and the image is not cut-off

Navigation History

The Navigation History's back and forward buttons can be found in the toolbar as a left and right arrow respectively. A shortcut is to use ALT+LEFT and ALT+RIGHT.

In the Design View, create a chain of references by clicking on items such as inline schemas and imported WSDL components. Use the back and forward arrows to navigate through the chain of references. Ensure the correct Design View is displayed for the item and the back and forward buttons navigate correctly through the chain of references.

Hyperlink Navigation

Referenced components: in the Source View, press F3 or "CTRL+click" over a referenced component. The source editor should go to the referenced component

Imports in the Source View: in the Source View, press F3 or "CTRL+click" over an imported WSDL or XML Schema and the selection should jump to the referenced component

Imports in the Design View: in the Design View, double click on an imported WSDL or XML Schema, which will automatically open the editor

Extensions

HTTP: in Outline view, select a created Port Type -> click the Extensions properties from the Properties View -> Add.. -> HTTP -> select an available component to add -> press OK -> click ont he new extension from the Extensions list -> fill in the Extensions details

SOAP: in Outline view, select a created Port Type -> click the Extensions properties from the Properties View (the text is currently not showing up, but it is the 3rd button on the vertical tab) -> Add.. -> SOAP -> select an available component to add -> press OK -> click ont he new extension from the Extensions list -> fill in the Extensions details

MIME: in Outline view, select an Input from a created Port Type's Operation -> click the Extensions properties from the Properties View (the text is currently not showing up, but it is the 3rd button on the vertical tab) -> Add.. -> MIME -> select an available component to add -> press OK -> click on the new extension from the Extensions list -> fill in the Extensions details

Refactoring

Rename a Port Type: in Outline view, right click on a created Port Type -> Refactor -> Rename... -> rename the file and press OK

Schemas

Launch inline schema editor: in the Design view, right click on a Port Type (The Port type box has a purple circle with a white I) -> Add Operation -> Press the faded gray arrow that appears on the right side of the new Operation (there is a gray arrow for the Input and Output. Once pressed, the name of the Source and Design view should say, "Inline Schema of [WDLN name]". Make changes to the schema using the Design or Source view and verify these changes are reflected in both views. Save the changes and close the inline Schema editor. Now reopen the inline Schema editor with the same steps and verify the changes.

Launch editor on an external schema: in the Design view, right click on a Port Type (the Port type box has a purple circle with a white I) -> Add Operation -> in the row that says Input, select the cell on the farthest right on this row -> in the Properties view under the General properties, set the Reference Kind to "Element" and select Browse... from the Element combo box -> select "Workspace" for search scope -> select an element which is not part of the current schema -> press OK -> open the schema by pressing the faded gray arrow to the right of the Input row to bring up the schema editor. The Design and Source view name should not say "Inline Schema"

Show Preview: in the Design view, mouse over a faded gray arrow located next to the Port Type and a preview of the graph will be shown as a popup in the Design view. To close this preview, press on this popup