получаю ошибку you don't have the required permissions to execute this action
,
когда я пытаюсь прикрепить файл к дефекту в HP-ALM.
код
bug.post()
attachfact=bug.Attachments;
attachObj = attachfact.AddItem(None)
attachObj.Description = "Failed Records"
attachObj.Filename = "LOGS\\"+test_case.Name+"_LOG.xlsx"
attachObj.Type=1
ExScoraqe - attachObj.AttachmentStorage
ExScoraqe.ClientPath - attachObj.Filename
ExStoraqe.Save(test_case.Name+"_LOG.xlsx",True)
attachObj.Post()
defect_ids = defect_ids + ” "+str(bug.Field("BG_BUG_ID"))
print "Defect ID : "+defect_ids
ошибка