It makes sense to run some functions from the command line, particularly those that are run numerous times on a daily basis.
The following .NET Explorer functions can be called from the command line:
To execute only the main test case in a project, enter for example netexplorer.exe myproject.nef TMain at the command line.
When executing projects, result files (log, html, and error) are stored in project directories (.nef file directories). These files receive the same name as the .nef file, for example myproject.err, myproject.log, and myproject.html.
To define a different base name for these files, specify the log filename as an additional parameter in the command line, for example netexplorer myproject.nef * mylogfilename.
netexplorer netfile testcase | * [output]
Parameter | Description |
---|---|
netfile | .NET Explorer file (.nef) |
testcase | The name of the test case to execute, or * to execute all |
output | The directory to write reports to. If no path information is passed, the files are written to the project directory. The following result files are written: .log, .html, and .err |