How do I archive WB project without results using scripting?

I want to archive my WB project using scripting but using the Archive()
method archives the project with result files. How can I archive it without results (.rst file etc.)?
Best Answer
-
The boolean argument
IncludeSkippedFiles
does the trick. If set toFalse
the archived project doesn't include the result files (.rst etc.). Example usage:Archive(FilePath="\Path\to\my\test.wbpz", IncludeSkippedFiles=False)
0
Answers
-
Dear @Ayush Kumar
I have two questions regarding the archive function.
How can I inspect the function to see all available arguments? See below for my attempt using 'inspect' module that did not work.
Is it possible to run the archiving script from command line in batch mode, so without displaying the project by GUI?
Ref. 1:
import inspect
inspect.getfullargspec(Archive)MissingMemberException: 'module' object has no attribute 'getfullargspec'
0