SVN Workflow for Assets on Terminal Servers

To implement SVN source control for assets on a Terminal server:

  1. Shut down TestShell Studio and TestShell Runner.
  2. Go to C:\Program Files (x86)\QualiSystems\TestShell\Studio\customer.config file and add (or enable) the following key (the folder name should reflect a location that is accessible to all the users on the Terminal server):

    <add key="AssetsPath" value="C:\Workspace\Assets"/>

  3. Save and close the customer.config file.
  4. Copy all assets to the folder that you specified in the customer.config file.
  5. This should be done only the first time right after this folder was created, since in the future new assets will be created on that folder. Make sure you copy both the TestShell asset files and the real asset files.

  6. Download and install the SVN client.
  7. Currently, CloudShell requires TortoiseSVN version 1.7.9, 32/64-bit. CloudShell's SVN plugin will not work properly with earlier or later versions.

  8. Upgrade local SVN working copy folders to the new version: svn upgrade 'full path to folder'.
  9. Using a text editor, edit the relevant plugin registry configuration files to enable the SVN plugin.

    For TestShell Studio and Runner:

    • Open C:\Program Files (x86)\QualiSystems\TestShell\Studio\QsTestShellStudio.PluginRegistry.xml and remove the comments surrounding the SVNPlugin key.

      Before

      <!-- <Plugin AssemblyName="QS.Studio.UI.dll" TypeName="QualiSystems.TestShell.ExplorerSVNPlugin.ExplorerSVNPlugin"/> -->

      After

      <Plugin AssemblyName="QS.Studio.UI.dll" TypeName="QualiSystems.TestShell.ExplorerSVNPlugin.ExplorerSVNPlugin"/>

    For TestShell Runner:

    • Open %QualiSystems_Installation_Folder%\TestShell\Studio\ QsTestShellRunner.PluginRegistry.xml and remove the comments surrounding the SVNPlugin key.

      Before

      <!-- <Plugin AssemblyName="QualiSystems.TestShell.ExplorerSVNPlugin.dll" TypeName="QualiSystems.TestShell.ExplorerSVNPlugin.ReadOnlyExplorerSVNPlugin"/> -->

      After

      <Plugin AssemblyName="QualiSystems.TestShell.ExplorerSVNPlugin.dll" TypeName="QualiSystems.TestShell.ExplorerSVNPlugin.ReadOnlyExplorerSVNPlugin"/>

    For CloudShell Authoring:

    • Open C:\%Program Files%\QualiSystems\CloudShell\Authoring\ QsDriverStudio.PluginRegistry.xml and remove the comments surrounding the SVNPlugin key.

      Before

      <!-- <Plugin AssemblyName="QS.Studio.UI.dll" TypeName="QualiSystems.TestShell.SVN.SubversionPlugin"/>-->

      After

      <Plugin AssemblyName="QS.Studio.UI.dll" TypeName="QualiSystems.TestShell.SVN.SubversionPlugin"/>
  10. Open the SVN server.
  11. Create a new repository.
  12. Create a new user.
  13. Right-click the Tests folder and choose TortoiseSVN > Repo-browser.

    The default Tests folder is C:\Users\[USER]\Documents\TestShell Files.

  14. Enter the URL and click OK.

    To get the URL, right-click the repository on the SVN server and choose Copy URL to Clipboard.

  15. Check Accept the certificate permanently.
  16. Enter the SVN server user name and password and check the Save Authentication box.
  17. Click OK.
  18. In TestShell Studio, update the path of the local assets to the location specified in Studio's customer.config file.

    !-- <Plugin AssemblyName="QS.Studio.UI.dll" TypeName="QualiSystems.TestShell.SVN.SubversionPlugin"/>--