next up previous contents
Next: 5. Enhanced Features Up: 4. USBTester Command-Line Execution Previous: 4.1 USBTester Command-Line Options   Contents


4.2 USBTester Command-Line Commands

The test application can be run from the command line with any of the following commands (note: the commands are mutually exclusive):

/Replace

USBTester.com /Replace /Inf|i:<INF-file>

Description:

Replace the standard Windows USB stack with the USBTester stack for your selected host controller card, as indicated by the /Inf argument.

Arguments:

Examples:

USBTester.com /Replace /Inf:mydevice.inf

USBTester.com /Replace /i:testdev.inf

/Restore

USBTester.com /Restore

Description:

Restore the standard Windows USB stack.

/Execute

USBTester.com /Execute /TestDevice|d:<test-device> /TestProject|t:<test-project> [/LogOutput|o:<file-name>] [/LogFormat|l:<xml|html|csv>]

Description:

Execute a given test project (/TestProject) for the specified test device (/TestDevice).

Arguments:

Examples:

USBTester.com /Execute /TestProject:myproj.xml /d:mydev.xdh

USBTester.com /Execute /l:xml /t:testproj.xml /TestDevice:testdev.xdh

USBTester.com /Execute /d:TestDevice.xdh t:myproj.xml /o:utlog.csv

USBTester.com /Execute /t:mytests.xml /d:testdev.xdh /LogFormat:html /LogOutput:mylog.html

/DeviceTree

USBTester.com /DeviceTree

Description:

Display a device selection tree for the currently loaded host controller card.

****************************************************************************************
  NOTE
  Before running USBTester.com with the /DeviceTree command, you must replace the standard Windows USB stack with the USBTester stack for your selected USB host host controller card. This can be done either from the test application's GUI Host Controller Selection dialogue [3.1], or by running the application from the command line with the /Replace command (see description above).
****************************************************************************************

/help

USBTester.com /help

Description:

Display the test application's usage instructions.

/version

USBTester.com /version

Description:

Display the version of the running test application.