A command line tool for starting stopping and saving captures in QTM
qtmc --help
QTM Control (qtmc) v0.0.2
Description:
This program provides command line automation control of QTM
Usage:
qtmc (start|stop [<filename>]|save <filename>) [--host=<hostname or ip>] [--port=<number>] [--password=<text>]
Arguments:
start Creates a new measurement and starts capture.
stop [<filename>] Stops a running capture. If <filename> is provided, the capture is saved as <filename>
save <filename> Saves a stopped capture as <filename>
--host=<hostname or ip> QTM RT endpoint address, default=localhost.
--port=<number> QTM RT endpoint port, default=22222.
--password=<text> Specifies the QTM "take control" password. default=****.
--help Shows this message.
Notice:
QTM must be started, and a project must be loaded for the RT protocol to be active.
Requires CMake v3.50 or greater.
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=<install-path>
cmake --build . --config Release
cmake --build . --target install --config Release
cd ..