Skip to main content
1-Visitor
Jul 31, 2017 2:57 PM UTC
Solved

CLI - tm editresult --stepVerdict Usage

Hi,

 

I have another question on using a CLI command. This time it's "tm editresult". How do I use the "stepVerdict" option???

My intention is to change the Verdict of a TestStep referenced in a TestCase referenced in a TestSession. But I don't know how?

JosefKAnswer
1-Visitor
Aug 2, 2017 11:23 AM UTC

I found the correct syntax:

tm editresult --stepVerdict="stepID=#TestStepId:verdict=Passed" --sessionid=#TestSessionId #TestCaseId

 

3 replies

17-Peridot
Aug 2, 2017 8:26 AM UTC

Hi Josef,

 

I am attaching a set of commands collected in a table for you.

In it you can see in the first line of each table the parameter itself and below the values.

There are different ways to fill test step results.

 

You just need to turn the tables into the CLI one-line form.

 

All your questions are answered in the CLI documentation, you have it present? 

 

 

Hope this helps

Volker

(PS: The tables are from my own Setup Testing Framework, look for the keyword "STeF" in the Integrity Blog).

 

Translate
JosefK1-VisitorAuthorAnswer
1-Visitor
Aug 2, 2017 11:23 AM UTC

I found the correct syntax:

tm editresult --stepVerdict="stepID=#TestStepId:verdict=Passed" --sessionid=#TestSessionId #TestCaseId

 

Translate
17-Peridot
Aug 3, 2017 9:39 PM UTC

Just a quick note:

the CLI documentation is also available online, see this please

https://support.ptc.com/cs/help/integrity_hc/integrity111_hc/en/#page/IntegrityHelp%2Fim.html%23

Translate