TestStand 2017 Help
»View Product Info
Download Help (Windows Only)
Workspace Context Menu
The items in the Workspace context menu vary depending on the location you click on the Workspace pane. The Workspace context menu can contain the following items:
- Analyze Workspace—Launches the TestStand Sequence Analyzer to start analysis of the current workspace file.
- Insert New Project into Workspace—Creates a new project on disk and adds the project to the workspace. This option is available only when you click on the root workspace object.
- Add Existing Project to Workspace—Adds an existing project to the workspace. This option is available only when you click on the root workspace object.
- Display File Hierarchy—Displays a graph in the Sequence Hierarchy window of the hierarchy of all sequences in the sequence file.
- Display Hierarchy Using—Displays a graph in the Sequence Hierarchy window of the hierarchy of all sequence calls starting at the process model entry point you select. TestStand uses the station process model to populate the list of entry points. This option uses the current sequence file as a client sequence file.
- New Folder—Adds a new folder to the selected project or sequence file.
- Insert Folder From Disk—Adds a folder from disk to the selected project or sequence file. After you select the folder, a dialog box prompts you to add the files within the folder. Click Yes to insert the folder you select and all the folder content so the content of the new folder in the Workspace matches the directory structure of the folder on disk. Click No to insert the folder and subfolders without adding the files the folders contain.
||Note Use Insert Code Modules from the context menu on the folder you insert to include code module files in the workspace for each sequence file in the folder.
- Add Files to Folder/Project—Adds the files you choose from a dialog box to the selected workspace folder or project.
- Insert Code Modules—Adds code module files to the workspace. Under each sequence file, TestStand creates a folder called CodeModules that contains the code modules the sequence file calls. The folder also includes any code module source files the sequence file references.
- Add to Source Code Control—Adds the selected project or file to source code control.
- Remove from Source Code Control—Removes the selected project or file from source code control.
- Get Latest Version—Copies the latest version of the selected project or file from source control to the local computer. Click Advanced Options to launch a dialog box that varies based on the SCC provider.
- Check Out <filename>—Checks the selected files out of source control and places a writable copy of the files on the local computer. Click Advanced Options to launch a dialog box that varies based on the SCC provider.
||Note Before you make changes to a file, check the file out of source control. For a file checked into source control, if you make the local copy of the file writable and then make changes, TestStand asks you if you want to reload the file when you try to check the file out. If you reload the file, the version checked into source control overwrites the version on the local computer and any changes you have made to the local file.
- Check In <filename>—Checks the selected file into source control.
- Undo Check Out—Checks the selected file back into source control and discards any changes you have made to the file. Click Advanced Options to launch a dialog box specific to the SCC provider.
- Show History—Shows the SCC history of the selected file. The history gives you information about previous versions of the file.
- Show Differences—Shows the differences between the two files you select to compare. For example, you could compare the local copy of a file with the same file checked into source control. If you select to compare sequence files and you have either Microsoft Visual SourceSafe or MKS Source Integrity as the default provider, the TestStand File Diff and Merge utility shows the differences between the two sequence files. If you have a provider other than Microsoft Visual SourceSafe or MKS Source Integrity, the diff utility for the provider presents the differences between the two files in a new window. In this case, you can use the SCC provider diff window to diff the sequence files only as text files. Unless the files have only minor differences, it is not practical to diff sequence files as text files. Complete the following steps to diff the files as sequence files.
- To preserve the changes, make a copy of the local file.
- Undo checkout of the local file and recheck the file out to obtain the latest changes from source control.
- Load the local file and the copy that contains the changes into the TestStand Sequence Editor.
- Use the TestStand File Diff and Merge utility to merge the changes from the copy into the local file you have checked out.
- Cut—Removes the selected workspace object and places it on the clipboard.
- Copy—Copies the selected workspace object to the clipboard.
- Paste—Inserts a workspace object from the clipboard.
- Delete—Deletes the workspace object.
- Rename—Changes the name the Workspace window displays for the selected project or folder.
- Refresh All SCC Status—Refreshes the SCC status of all files in the workspace and verifies that the files exist on disk.
- Properties—The properties of the selected file. This command launches the Workspace Properties dialog box, which can contain the following tabs:
- General—The path name of the file, the date the file was last modified, and the SCC status of the file.
- Source Control—Changes the source control project and launches the source control system. Click Advanced Options to launch a dialog box specific to the SCC provider. For a workspace item, this tab also enables you to change and connect to a source control provider and to change the source control user name.
||Note This tab is only visible for workspace and project items.
Selecting a Source Code Control Provider
TestStand File Diff and Merge Utility
Workspace Properties dialog box