Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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?
Solved! Go to Solution.
I found the correct syntax:
tm editresult --stepVerdict="stepID=#TestStepId:verdict=Passed" --sessionid=#TestSessionId #TestCaseId
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).
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