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
Greetings!
I'm currently parsing an excel, extracting information from there and I want to dynamically create a test case for each line of the excel.
I already have extracted the information, but I have a problem when creating a test case using command line.
For example:
im createissue --type="Test Case" -> throws an error that says : "Can not create an Item of Type Test Case" (?)
but I managed to create a test step using the same command... im createissue --type="Test Step"
Is it not possible to create a test case from CLI ?
Please note that I have searched all the IMS manuals and I found nothing.
Regards,
Adrian.
Solved! Go to Solution.
Hi Adrian,
The Test component of Integrity, relies heavily on the document model design in Integrity, and the built-in Test stuff, is all intertwined with that.
I think you would want to make use of the "im createcontent" command instead, since you're presumably creating test cases for a Test Suite?
ex.
im createcontent --type "Test Case" --parentID XYZ --field "Text"="Test that the brown fox can jump over the grey wall"
Hi Adrian,
The Test component of Integrity, relies heavily on the document model design in Integrity, and the built-in Test stuff, is all intertwined with that.
I think you would want to make use of the "im createcontent" command instead, since you're presumably creating test cases for a Test Suite?
ex.
im createcontent --type "Test Case" --parentID XYZ --field "Text"="Test that the brown fox can jump over the grey wall"
Hello Michael.
Yes, you are right. I wanted to create test cases within a Test Suite and using "im createcontent" worked perfectly.
Thank you for your prompt response!