03-18-2015 11:45 AM
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
03-18-2015 01:18 PM
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,
06-16-2015 05:02 AM
Error is thrown When I am trying to import the docsupport.dll , cpould you provide an example how this can be called
06-22-2015 02:14 PM
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,