christianf
6 years agoOccasional Contributor
Running a test from python: how to receive the log file
Hi,
I'm using the following nicked code:
TCApp = win32com.client.Dispatch(r'TestComplete.TestCompleteApplication')
TCApp.Visible = False
TCInt = TCApp.Integration
TCInt.RunProjectTestItem("{}; /r /p:InstallationCS /t:\"Script|Installation_Auto\" /SilentMode /exit'" % ProjectPath)
while TCInt.IsRunning() == True:
time.sleep(1)
TCApp.Quit()
Is there any way to access the log file generated by the RunProjectTestItem call?