Mailing List - Entries from 2019 up to now
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Generate mutiple QF-Test run logs for a single report containing multiple hosts
Hi Kevin, you're running into a Problem with % beign a special charcter for Windows cmd.exe. From manual section 40.2.4: https://www.qfs.de/en/qf-test-manual/lc/manual-en-tech_execution.html#sec_placeholders The filename given in any of the command line arguments -runid <ID>, -runlog [<file>], -runlogdir <directory>, -report <directory>, -report.html <directory>, -report.name <name>, -report.xml <directory> or -report.junit <directory>, may contain placeholders of the form %X or +X (the latter must be used on Windows where '%' is a special character) where X may be any of the characters listed in the table below. QF-Test will fill in the respective value when creating the run-log or report. All time values refer to the time the test was started. So I guess you just need to replace %b% with +b in your command line and you should be fine. Best regards, Greg "Liu, Kevin (DPTI)" <Kevin.Liu@?.au> writes: > Hi QFS experts, > > Previously I was able to run multiple test suites on a single test machine using batch mode configured through Bamboo, > and successfully viewed the test report containing multiple test suites and I also noticed there were split run log > file generated in the shared network drive. > > Now I am trying to improve the productivity by sharing the workload, let PC 1 run some part of the whole test suites > through the first job within bamboo configuration, PC 2 run other part of the whole test suites through the second job > within bamboo configuration, and eventually I am hoping to keep only three folders : report.html, report.junit, > report.xml and two .qrl files (one for PC1, and one for PC2) and am able to view different host name in the single > report, however I failed to create multiple runlogs representing different hosts (only one in this case as shown > below). > > In one of my batch files, I set the following: > > SET LOG=%REPORT_DIR%/%b%-qft-log.qrl > > SET RUN_LOG=-runlog %LOG% > > used %b% according to When executing multiple test-suites, be sure to include the base name of the suite in > > the filename by specifying %b. Otherwise only a single run-log or report may be written > > that represents only the test-run of the last test-suite. > > In the section ’40.2.4’ in QF-TEST 4.5.2 manual. > > Still I am getting only one qrl file. > > [cid] > > Any suggestions or code snippet would be highly appreciated. > > Cheers > > Kevin > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > https://movement.qfs.de/mailman/listinfo/qftest-list -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833
|