Friday, January 5, 2007

Master/Sub Plans-Silk test

Master/Sub Plans
Creating Master and Sub-Plans : Expand a Sub-plan by : Saving Sub-plans : Acquire a Lock : Remove Lock
Creating Master and Sub-Plans
The Master and Sub-plan feature of Silk Organizer allows a team to construct a series of testplans and then integrate those plans into a master plan. The master/sub-plans can be several levels deep. This feature is accessed using the include: statement in a testplan. Silk Organizer has a built-in locking mechanism for use with master/sub plans. The feature allows only one user to edit the file at once. If one user has the file open, and another user opens the file in a master plan, the second user will not be able to edit the file. If the first user closes the file or does a Include -> Release lock, then the second user can do an Include -> Acquire Lock to edit the file.

This image shows a master plan with none of the four sub-plans expanded.

Expand a Sub-Plan by
1) Double-clicking to the left of the small gray diamond.
2) Choose Include -> Open from the SilkTest menu.
3) Choose Include -> Open All from the SilkTest menu.

This image shows a the install.pln subplan.


This image shows a master plan with the install sub-plan expanded. The gray bar beside the sub-plan shows that it cannot currently be edited. The sub-plan may be opened in another window.

Saving Sub-Plans
Normally editing is done by opening the sub-plan in its own window. You can, however edit a sub-plan from within a master plan. Pick Include - Save from the SilkTest menu to save the sub-plan when have finished editing.

Acquire a Lock
This feature allows you to acquire the lock on a sub-plan. This feature is required when the sub-plan is opened by two users at the same time. The first user obtains a lock and the second user shows a grey bar on the left side of the window.

Remove Lock
This feature works with the Acquire Lock capability. If you are editing a sub-plan and want to edit or allow someone else to edit your sub-plan from within a master plan, choose this option from the SilkTest menu.

No comments: