Contributions
- 2.3KViews0likes0Comments
- 2.4KViews0likes0Comments
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.2.4KViews0likes3CommentsRe: 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.2.4KViews0likes1CommentOverwriting 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"Solved2.4KViews0likes7CommentsRe: 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')?2.5KViews0likes3CommentsPassing 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 ?Solved2.5KViews0likes8Comments