11.6.3 Creating a New Document -Client Application Test

11.6.3.1 Creating a New Document from a SDI Client Application Containing a Changed Embedded Object Test Case Cli-15

Precondition

The client application document contains an embedded object from a server application.

Procedure

1.In the client application, open the embedded object for editing.

2.In the client application, choose File New to open a new document.

Postcondition

The client application should prompt the user to update the open objects. Choosing Yes should cause all of the objects to be updated and saved in the document opened in Step 2.

All of the embedded objects in the client document open for editing should close.

Check if the client application calls OleRevokeClientDoc with the old document name and calls OleRegisterClientDoc with the new name.

Similar Test Cases

Repeat the preceding steps, but Cancel the Update operation. None of the other listed Postconditions should occur.

Again, try File New when one or more of the server application objects are opened from the client application and/or are blocked or busy. The application should not close the document until the operation is completed. With the operation incomplete and in an indeterminate state, try creating new objects and/or manipulating other objects in the document.