Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6589

Get Teststand to set dos errorlevel

$
0
0

I want to launch Teststand and a Teststand sequence from a Generic Test in Microsoft Visual Studio.

 

A Generic Test allows a command line based program to be called as part of a test provided it does the follwoing

 

"In general, a generic test passes when the executable it wraps returns a value of 0, and fails if any other value is returned."

 

I can see that TestStand can be launched via the cmd line, but it looks as though there is no way to get TestStand to return an exit

code when it has finished executing a sequence (i.e. 0 passed, other number failed).

 

Can someone confirm that this is correct and there is no work around?

 

Could a wrapper program be written that launched TestStand and then returned an exit code?


Viewing all articles
Browse latest Browse all 6589

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>