NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create Test Sequence Document in HTML using command line

How to Create Test Sequence Document  in HTML using command line

 

I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using   C#  .Net

 

 

 

0 Kudos
Message 1 of 4
(4,810 Views)

So I'm assuming you are talking about the Tool Menu item Sequence File Documentation...

 

That is calling the docgen.seq file located in the Components\Tools\DocGen folder.  There is a dll in there called docsupport.dll.  I'm sure you could just call that from C#?  Can you call C++ DLLs from C#?

 

Just a thought,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(4,806 Views)

Error is thrown When I am trying to import the  docsupport.dll ,  cpould you provide an example how this can be called 

Capture.JPG

0 Kudos
Message 3 of 4
(4,541 Views)

If you aren't able to figure out how to call a C++ DLL in .net then there may be another option.  Unfortunately I don't know how to do this off the top of my head and I don't have an example.

 

The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options.  Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(4,476 Views)