Compare two different .NET scripts or two versions of the same .NET script to merge differences between the .NET scripts or
the .NET script versions.
-
Choose
or select
in the
Start Screen.
-
From the
Asset Types list, select
.NET Script.
The existing .NET scripts for the selected project display in the right pane.
Tip: If you do not see the .NET scripts that you are interested in, ensure that the correct project is selected in the
Active Project list.
-
To compare two different .NET scripts:
-
Use
Ctrl+Click to select the two .NET scripts that you want to compare.
-
Right-click on the selection.
-
Click
View Differences.
-
To compare two versions of the same .NET script:
-
Right-click on the .NET script that you are interested in and select
Show All Versions.
-
In the
Version Detail dialog, use
Ctrl+Click to select the two versions that you want to compare.
-
Click
View Differences.
-
To switch between the differences, use
Next Difference and
Previous Difference in the toolbar.
-
To merge the selected difference:
- Click
Copy Left to merge the selected difference from the version or asset that is displayed in the right pane to the version or asset that
is displayed in the left pane.
- Click
Copy Right to merge the selected difference from the version or asset that is displayed in the left pane to the version or asset that
is displayed in the right pane.
- Changes are highlighted in amber.
- Additions are highlighted in green.
- Items that do not exist in one of the compared assets are grayed out.
Note: While a
Silk Test Workbench user is comparing or merging an active version of an asset, the asset is locked and cannot be edited by another user. If
an asset is already open for editing in another window and you try to compare or merge an active version of the the asset,
the version is opened in read-only mode. This is indicated in the title bar of the version.