11.6.8 Opening a Document - Server Application Test

From the user's perspective, the document will be opened immediately for an MDI application, and after the current document is closed for a SDI application. The opened document does not establish automatic links to a client application having links to items in this document.

From the developer's perspective, a SDI server application must revoke the existing document and register the opened document with the DLLs.

11.6.8.1 Opening an Existing SDI Server Document with a Changed Embedded Object Test Case Svr-23

Precondition

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

Procedure

1.In the client application, open the embedded object for editing. The server application should be started.

2.In the server application, make changes in the embedded object.

3.In the server application, select File Open.

The server application should ask whether or not to update the embedded object.

4.Respond with Yes to the update embedded object prompt.

The client application should be updated unless the client application is Microsoft Excel or PowerPoint.

5.Open a document in the server application.

6.In the client application, activate the object again.

Postcondition

A new instance of the server application should be started to edit the object. The original instance should not be activated.

Similar Test Cases

Repeat the preceding procedure, but select No in Step 4. The client application should not be updated at this point, nor after Step 5.

Repeat the preceding procedure, but select Cancel, if available, in Step 4. Re-activating the embedded object in the client application should cause the original server application instance to be re-activated.

Repeat the preceding procedure, but select Cancel in the File Open dialog box. Re-activating the embedded object in the client application should cause the original server application instance to be re-activated.

Repeat the preceding procedure, but choose Insert New in Step 1.

Repeat the preceding procedure, but choose Insert Template in Step 1.