cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Error Message doesn't display in CLI for command " tm  results"

0 Kudos

Error Message doesn't display in CLI for command " tm  results"

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.

 

 

1 Comment
olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.