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

CLI - tm editresult --stepVerdict Usage

JosefK
5-Regular Member

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?

1 ACCEPTED SOLUTION

Accepted Solutions
JosefK
5-Regular Member
(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
5-Regular Member
(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

Windchill RVS Users


Please take our

Windchill RV&S Authoring with Formula Editor Survey