cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

CLI - tm editresult --stepVerdict Usage

JosefK
10-Marble

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?

ACCEPTED SOLUTION

Accepted Solutions
JosefK
10-Marble
(To:JosefK)

I found the correct syntax:

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

 

View solution in original post

3 REPLIES 3

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

 

JosefK
10-Marble
(To:JosefK)

I found the correct syntax:

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

 

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

Announcements


Top Tags