Я пытаюсь войти в ALM и извлечь все дефекты по коду Python.
Но я не могу войти
import win32com.client
import win32api
import pythoncom
def get_QCConnection():
'''Get the hardcoded connection to the server and domain.
Can be made a "real" engine if you try hard.
Use makepy utility to determine if the version number has changed (TDApiOle80)
but this works to current version'''
QCConnection =win32com.client.Dispatch("TDApiOle80.TDConnection")
url = 'http://alm12ypdmz:8080/qcbin'
QCConnection.InitConnectionEx(url)
QCConnection.login('msb','Welcome*01')
QCConnection.Connect('DEFAULT','NEWGEN_SYS_TEST')
return QCConnection
conn = get_QCConnection()
com_error: (-2147221164, «Класс не зарегистрирован», Нет, Нет)