How Do I Programmatically Browse A Workspace File in TestStand?Primary Software: TestStandPrimary Software Version: 4.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: In my Operator Interface I am able to click File»Browse Workspace to load a workspace file into memory. How can I do this programmatically in TestStand and load a workspace file? Solution: The Engine.DisplayWorkspaceBrowserDialog(String dlgTitle, long dlgOptions) method launches a dialog box that lets you select and edit a workspace file.
RunState.Engine.DisplayWorkspaceBrowserDialog("",0) this will bring up the default Workspace Browswer Dialog Box.__________
If you insert an Expression Step into the Main block of you Steps Pane and set the expression value to Related Links: TestStand 4.0 Help: DisplayWorkspaceBrowserDialog method help TestStand 4.0 Help: OpenWorkspaceFile method help TestStand 4.0 Help: CurrentWorkspaceFile property help Attachments:
Report Date: 12/04/2007 Last Updated: 12/11/2007 Document ID: 4G3ERIA0 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
