Merging Visual Tests

Compare two different visual tests or two versions of the same visual test to merge differences between the visual tests or the visual test versions.
  1. Choose View > Asset Browser or select Get Started > Asset Browser in the Start Screen.
  2. From the Asset Types list, select Visual test. The existing visual tests for the selected project display in the right pane.
    Tip: If you do not see the visual tests that you are interested in, ensure that the correct project is selected in the Active Project list.
  3. To compare two different visual tests:
    1. Use Ctrl+Click to select the two visual tests that you want to compare.
    2. Right-click on the selection.
    3. Click View Differences.
  4. To compare two versions of the same visual test:
    1. Right-click on the visual test that you are interested in and select Show All Versions.
    2. In the Version Detail dialog, use Ctrl+Click to select the two versions that you want to compare.
    3. Click View Differences.
  5. To switch between the differences, use Next Difference and Previous Difference in the toolbar.
  6. 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.

    If you have selected the <<Start>> step and you press Copy Left or Copy Right, the View Differences - <<Start>> dialog opens, allowing you to select which differences you want to merge to the selected direction. Click OK to reflect your changes in the View Differences dialog.

    Note: When merging application configurations, you can only merge individual elements within the application configuration if the application configurations are of the same type. If the application configurations are of differing types, for example a web application and a standard application, you can merge only the entire application configuration.
    Note: When you are trying to merge test logic statements, for example an If statement or a Repeat statement, Silk Test Workbench ensures that the target visual test does not break if the merge is applied. If merging a statement would break the visual test, Silk Test Workbench displays an error message and does not merge the change.
  • 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.