ContributionsMost RecentMost LikesSolutionsRe: Overwriting log file - command line Thanks guys for replies. Reducing time of test maintanenceI'm wondering what are your solutions/tips to reduce test maintenance time ? What's your experience in that area ?Re: Overwriting log file - command line So I'll try that solution, thanks. Re: Overwriting log file - command line Ok but isn't there any way provided by TC to do it or write to different folders etc. ? It seems to should be so obvious to have that opportunity similar like in SoapUI. Other solution - can I pass a variable in batch file (e.g. current datetime) to use it as a log name parameter in command line ? It would make each next log name diffrent. Re: Passing object from script to keyword test Ok, so I will use code snippet or create short procedures/functions to use to perform operations I need. "May I ask... why do you want to avoid a code snippet? If it's not broke, don't fix it..." - I just wanted to have my test steps more clearly and easier to maintain. Overwriting log file - command line How to force test complete to overwrite test results (Log file) when starting tests from command line ? I tried to use exportLog parameter but each time it requires non-existing log file name. How to resolve it? My command line: TestComplete.exe "C:\[path to project]" /r /p:ProjectName /t:"Group1" /exportLog:"C:\TestLogs\Log.html" SolvedRe: Passing object from script to keyword test Thanks for detailed answer:) Unfortunately, as I mentioned before I would like to know other solutions than using code snippet. How to use object reference returned from script in existing TC keywords operations ? Or is it posssible to add custom operations to keyword tests (like to have it available to select from left pane 'Operations')? Re: Passing object from script to keyword test Thanks, but in 'Call Object Method' operation or any other keyword test operation I can't see the way to select 'last operation result' when selecting object to perform action on. Could you give more details on that ? Passing object from script to keyword test Hi, I wrote a script that returns a grid's cell object. I want to use it in keywords test to perform methods on it. How to use such object in keyword test? I created object variable that is set from the script but when I want to use it e.g. in 'Call Object Method' I get message that there is no object or it's unavailable or something like this. When I use this variable in 'Run Code Snippet' it works but I don't want to use that way. Any ideas/suggestion ? Solved