07-17-2019 01:37 AM
Hi All.
I'm trying to understand how to interface with TestStand from the command line.
I have so far found these article:
Forum: Using TestStand And Jenkins
Tutorial: Getting Started with TestStand and Jenkins
TestStand command line options
Sequence Analyzer command line options
For now I just working on the example project 'Computer Motherboard Test Sequence' that ships with TestStand.
I am able to open TestStand and run the sequence with this command:
SeqEdit.exe /run MainSequence "C:\your-path\Computer Motherboard Test Sequence.seq"
I have one issue though: The command returns immediately, so how can I tell of the sequence is completed running?
I would also like to run the Analyser, which I can do manually by pressing the "Analyzer" button in the sequence. But if I want to do this operation from the command line, it seems like I need an Analyzer project? I have tried this command:
AnalyzerApp.exe "C:\CIM\CIM-Test\HardwareTest\Computer Motherboard Test Sequence.seq" /analyze
But it just opens the standalone Analyzer app with an error because I do not have a Analyzer project. Do I really need to have that?
Thanks for reading.
Solved! Go to Solution.
07-17-2019 07:54 AM
Did it prompt you to login?
what is that path to the sequencefile?
07-17-2019 10:55 AM
You should experiment with the other command line options to try to figure out what's going on:
if it's immediately returning, it's probably not executing the sequence.
You do need an analyzer project - the button in the sequence editor runs it under the one in your public directory by default:
%TestStandPublic% or %TestStandPublic64%/MyAnalyzerProject.tsaproj
07-18-2019 01:38 AM
Please see this topic for more information:
https://forums.ni.com/t5/Continuous-Integration/TestStand-command-line-options/gpm-p/3949666