11.6.12 Renaming a File - Server Application Tests

11.6.12.1 Renaming a File in a Server Application Containing an Open Linked Object Test Case Svr-27

Precondition

The client application contains a link to a server application document. The client application to server application conversation is established.

Procedure

1.Choose File Save As in the server application to change the name of the file.

2.In the client application, examine the link information (using the Link Properties dialog box, if available).

The link should be intact. The client application's link should now correspond to the new name of the server application document.

3.Close the server application document.

4.Activate the linked object in the client application.

Postcondition

The newly named file should be opened in the server application.

Similar Test Cases

The server application is started on its own or it is invoked by choosing Edit from the client application.

11.6.12.2 Renaming a File in a Server Application Containing an Embedded Object Test Case Svr-28

Precondition

A server application document is open for editing an embedded object. The client application document also is open.

Procedure

1.In the server application, choose File Save As. If the object has changed, the server application should prompt to update it.

2.Respond with Yes to the update prompt to have the client application object update the object.

The server application should break the connection to the client application and create the new file.

3.Activate the object in the client application.

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

4.In the server application, copy the data from the saved file to the clipboard.

5.Examine the contents of the clipboard.

The ObjectLink format should be available.

6.Start a client application.

7.Choose Paste Link in the client application.

8.Make changes in the server application's saved document.

Post Condition

Changes should be reflected in the client application document.

Similar Test Cases

The embedded object should re-activate the original instance of the server application.

Repeat the preceding procedure, but select Cancel at Step 1 if it is available. Re-activating the embedded object in the client application should cause the re-activation of the original server application document.

Repeat the preceding procedure, but select Cancel in the File Save As dialog box. Reactivating the embedded object in the client application should cause the original server application document to be re-activated.