Skip to main content
1-Visitor
Apr 13, 2015 8:17 AM UTC
Solved

Command to create and modify a test step

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

awalshAnswer
5-Regular Member
Apr 14, 2015 6:35 PM UTC

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
Apr 14, 2015 3:04 PM UTC

What about tm createverdict?

Translate
awalsh5-Regular MemberAnswer
5-Regular Member
Apr 14, 2015 6:35 PM UTC

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

Translate
ikeri1-VisitorAuthor
1-Visitor
Apr 15, 2015 7:26 AM UTC

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.

Translate