Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Reference# C16084378:
User wants to display error message in CLI when a command is failing. Same way as GUI displays error. “MKS124283: Permission Denied: Item 12977279 is not visible due to project/type visibility restrictions.” This will help them to rectify the issue when while working with automated script.
I don't have access to project with my ID when I am executing the the below commands neither the command gives the result nor I receive any error message:
With my uid: tm results --hostname=ims.vitesco.io --port=7102 --sessionId=13843107 --fields="SessionId,CaseId,Verdict,HasAttachment,Modified Date,Annotation,Title.fva:case" --fieldsDelim="#$#$"
However, if the same command I execute with functional ID which has access to project command generates output
With functional account : tm results --hostname=ims.vitesco.io --port=7102 --user=uid10274 --sessionId=13843107 --fields="SessionId,CaseId,Verdict,HasAttachment,Modified Date,Annotation,Title.fva:case" --fieldsDelim="#$#$"
In IMS GUI when we open same test session we are getting an error message which is not shown in command prompt when executing command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.