Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hello there,
I would like to ask if there is a way to add one / multiple test Items in an already created Test Session via CLI.
I am working on an Windows machine if it makes any difference
I tried with editissue command but, as far as I understand, there is no --type argument in order to select my Test Session ID.
Thank you in advance
Solved! Go to Solution.
You have to familiarize yourself with the "im editissue" command.
There is no "type" argument because it doesn't make sense here since it cannot be changed. It sounds like you're trying to add Test Cases to a Test Session, presumably in the planning phase. The ID of the Test Session you're trying to edit is an option for the command, not an argument. So in this case, the command would be something like:
im editissue --addFieldValues="Planned Test Cases"=60719 65409
In other words, "add TC 60719" to TS 65409. (note that my field names may be different from yours.)
I hope this is the answer you're looking for.
Is this related to RV+S Community?
wondering if this is the right forum.
I am sorry if this is the wrong forum to ask,
Do you have any recommendation in order to ask in the correct forum?
https://community.ptc.com/t5/forums/filteredbylabelpage/board-id/Integrity/label-name/rv+s
Is this to one? The moderator can move it for you.
Thank you for your reply,
It seems a good fit.
You have to familiarize yourself with the "im editissue" command.
There is no "type" argument because it doesn't make sense here since it cannot be changed. It sounds like you're trying to add Test Cases to a Test Session, presumably in the planning phase. The ID of the Test Session you're trying to edit is an option for the command, not an argument. So in this case, the command would be something like:
im editissue --addFieldValues="Planned Test Cases"=60719 65409
In other words, "add TC 60719" to TS 65409. (note that my field names may be different from yours.)
I hope this is the answer you're looking for.
Thank you very much for spending the time to answer my question.
That was exactly what I was looking for. I will invest some time to understand the edit issue command.
Best Regards
Konstantinos