Skip to main content
1-Visitor
July 31, 2017
Solved

CLI - tm editresult --stepVerdict Usage

  • July 31, 2017
  • 3 replies
  • 2636 views

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?

Best answer by JosefK

I found the correct syntax:

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

 

3 replies

17-Peridot
August 2, 2017

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).

 

JosefK1-VisitorAuthorAnswer
1-Visitor
August 2, 2017

I found the correct syntax:

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

 

17-Peridot
August 3, 2017

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