Contributions
Re: Running a test from python: how to receive the log file
so I was trying to do something like log = TCInt.RunProjectTestItem("{}; /r /p:InstallationCS /t:\"Script|Installation_Auto\" /SilentMode /exit'" % ProjectPath) in order to receive the output, but that doesn´t work out.1.4KViews0likes0CommentsRe: Running a test from python: how to receive the log file
No, that does not address the question at all. I have installed TestExecute and TestComplete already. Now I am trying to run a test item in a test project from a python script and to receive the log file from that run.1.4KViews0likes3CommentsRunning 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?1.4KViews0likes6CommentsI am looking for a way to write to different log files in one test.
What I am looking for is something like log1 = logfile("log1.txt") log2 = logfile("log2.txt") log1.Message("test started") log2.Message("special message for the other log") log1.Message("test failed!") log2.Message(..)Solved1.4KViews0likes2Comments