03-29-2006 06:25 PM
03-30-2006 01:07 AM
Try
RunState.ProcessModelClient.Path
Hope this helps
Steve
03-30-2006 02:11 AM
03-30-2006 02:14 AM
The Property only exists at Run Time.
Steve
03-30-2006 02:32 AM
However, I prefer to see is to get the client sequence file name after loading it, but without running this client sequence file. Actually, what I'm trying to do is to add a menu item in Teststand, and everytime when I click that menu item, certain sequence in Process model can be run, then call an application, who is relative path to the obtained path/name of client sequence file.
I appreciate that you can help me again on it.
Thanks!
Jacky
03-30-2006 03:26 AM
I dont understand what you are trying to achieve. Can you provide more information.
If you are trying to dynamically load and run a client sequence file at run time you need to make a couple of calls to the TS API from inside the process model, Engine.GetSequenceFileEx to get a reference to your sequence identified by its pathname, and then Execution.ClientFile to tell the process model which sequence you want to run.
Steve