Skip to main content
1-Visitor
April 13, 2015
Solved

Command to create and modify a test step

  • April 13, 2015
  • 3 replies
  • 1865 views

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

Best answer by awalsh

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

3 replies

1-Visitor
April 14, 2015

What about tm createverdict?

awalsh5-Regular MemberAnswer
5-Regular Member
April 14, 2015

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

ikeri1-VisitorAuthor
1-Visitor
April 15, 2015

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.