tmcommit

Commits the results of configured test cases and test suites into the ClearQuest® database.

Synopsis

tmcommit [common arguments]

Description

The tmcommit subcommand starts Rational® ClearQuest Test Manager tests represented by two ClearQuest record types: configured test cases and test suites. You log into a ClearQuest database and then start a configured test case using the tmexecute command. You capture the results of the execution. Later, probably not in the same session, you can log into the same database and use the tmcommit command to commit the results of the test into the ClearQuest database.

Options and arguments

-i/teration iteration name
Specifies the name of the iteration to start.
-id CTC
Specifies the name of only one configured test case ID to commit. Multiple configured test case IDs and test suite record IDs are not supported.
-log fully qualified path of log
Optional. Specifies the name of the log file directory in a Rational ClearQuest Test Manager file location where the test was run.
[-bn/ame build name]
Specifies the build name of the test.
[-br/ecord record id]
Specifies the build record ID of the test.
[-st/artup Eclipse executable path]
Specifies the executable to run when Rational ClearQuest Test Manager is started. This is typically eclipse.exe or clearquest.exe. For example, "C:\\Program Files\\IBM\\SDP70\\eclipse.exe" or "C:\\Program Files\\Rational\\ClearQuest\\rcp\\clearquest.exe". When -startup is not specified the ClearQuest RCP client is used.

Examples

Performs a simple commit.

cqtool>tmcommit -id QEMS00000187 -log “C:\\mylogs\\logs\\log1.execution” -startup  “C:\\Program Files\\IBM\\SDP70\\eclipse.exe”

Performs a commit and specifies a build name.

cqtool>tmcommit -id QEMS00000187 -bname build101 -log “C:\\mylogs\\logs\\log1.execution” -startup  “C:\\Program Files\\IBM\\SDP70\\eclipse.exe”

Performs a commit and specifies a build record.

cqtool>tmcommit -id QEMS00000187 -brecord buildrecord101 -log “C:\\mylogs\\logs\\log1.execution” -startup  “C:\\Program Files\\IBM\\SDP70\\eclipse.exe”

Feedback