Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello,
Is there a command to create and modify a test step in a test case? I can create test case with "im createissue", modify it with the "im editissue" but how to add test step to it?
Thanks in advance Istvan
Solved! Go to Solution.
To create a new test step, you would also use the "im createissue" command. There is a type for "Test Step". To add a new test step to a test case, you would first need to create it using "im createissue", then add it to the "Test Steps" relationship for your Test Case. For example, if I wanted to add the Test Step with ID 573 to the Test Case with ID 580, the command would be im editissue --addFieldValues="Test Steps"=573 580.
Note that I am using Integrity 10.7. For versions prior to 10.6, the command would be im editissue --addRelationships="Test Steps"=573 580
What about tm createverdict?
To create a new test step, you would also use the "im createissue" command. There is a type for "Test Step". To add a new test step to a test case, you would first need to create it using "im createissue", then add it to the "Test Steps" relationship for your Test Case. For example, if I wanted to add the Test Step with ID 573 to the Test Case with ID 580, the command would be im editissue --addFieldValues="Test Steps"=573 580.
Note that I am using Integrity 10.7. For versions prior to 10.6, the command would be im editissue --addRelationships="Test Steps"=573 580
Thank you Ann. That really works. (im createissue --type="Test Step" )
I only have to find out how to get the ID of the newly created test step, but that's another story.