ContributionsMost RecentMost LikesSolutionsPassing parameters to .bat cmd filesAs suggested in the TestComplete Help "Run TestedApp Operation", I have an instance where my C++ program runs for about 10 seconds, such that before it is finished, TestComplete thinks it has completed. In this help article, it suggests a workaround by using the .bat file and adding that as a tested app. That all works fine, but one of the good things about my structure is that I used a script that passed parameters from TestComplete via TestedApps..CommandLineParameters. I can't appear to get the equivalent working, so the question is 'Is it possible to pass parameters from TestComplete into the.Bat file and pick up via %1, %2 etc?' I.e test.bat.file echo %1 runexe %1 @test.bat bob echoes bob and runs runexe with bob as a parameter. Thanks John OOOOOOOOPPPPPPPS My mistake, that all works great. a typical copy and paste problem. When I referred to the correct testedapp it worked fine.Re: Test Log OutputIt's really simple. I have a project with 250 tests - some nested within groups. Running the tests is really easy. You go the TestComplete project in the left hand pane, do a right click and do 'Run XXXX [Project]'. When the tests finish you get two panes: the Summary pane and the Project Log pane. The Summary pane shows that I have executed 230 test items, out of a total of 288 test items: That's great for a summary. If I go to the Project Log Pane, I see 10 green ticks against tests - but these are not tests, these are groups of tests. To see an individual test item, I have to double click on the test group and it expands and shows the test items in that group (or more groups). So what I am saying is that all of the test results are there in the User Interface, but you have to drill down/up to see them all. [What I'd like to do is print off an A4 printout on paper or export to a text file, something tht can be printed off and attached to the back of an Acceptance Test Specification, that has the following: 1. An itemised list of all of the tests that were run (and whether they passed or failed) 2. An itemised list of those tests that were ignored (i.e., disabled)] As far as I am aware, TestComplete allows me to do the following: 1. Export to XML, View in IE and send in an email. Whilst this works fine, it's all electronic, and you can drill up and down. 2. Whilst selecting test results on the right hand side pane, and selecting Print from the menu bar, you can print, but it only seems to be able the level that is viewed. So in my particular case I have groups as follows: Tests .... Arithmetic Tests Addition Tests Test 1..n Subtraction Tests Test 1..m etc. I am unable to select Tests and go the print icon and print all of the expanded tests. To print Test 1..n I have to drill down two levels and then Print. (the Collapse All, Expand All, Filter menu items don't seem to have an effect on the print functionality) Does that make sense? Re: Test Log OutputThat patch seems to have got the print functionality back again. However, I still think there is a deficiency in the printing functionality of the test logs (unless I'm missing something), as having arranged my hundreds of tests into nice neat groups, the only way to print out test results is by a group at a time. I.e., you can't just go to the top node of the log and get a great big printout of all of the test results. Thanks, John Re: Test Log OutputFrom a quality point of view, you should be able to print on paper, or to a text file, or an Excel spreadsheet...... 1. A list of all of the tests, and those that are set to Ignored, prior to running the tests. 2. After running the tests, you should be able to get a list of all tests that were run and what their status was - Passed or Failed. Additionally, someone who witnessed the tests should be able to print out the tests that were ignored during the test run - they may have been set to ignored unintentially. Ideally there should be NO ignored tests. NUnit output has this sort of output. I have looked further -- e.g., www.sqaforums.com where there seems to be lots of posts regarding TestComplete and it looks as if paper reporting is a major deficiency of Test Complete. Regarding exporting to MHT - yes I can do that but I still can't print (well I can print what is on the screen). I have organised my 200 tests into neat categorised groups, and the only way to print out is to drill down and print what is the screen - which is not acceptable. That make sense? Test Log OutputRelated to my previous threads and other similar threads, what I really want to do is this Following a Test Run, produce a text file that contains the following. Lists all tests in the project - whether they passed, failed or were ignored and the summary sheet at the bottom (as per the current summary sheet). I have tried writing some script using the examples provided in the Help playing about with the [Logs] collection, but although I can get lots of information out, this has only the tests run and not those ignored. Something like this Test Log 03/12/2009 11:06:43 Test Description Start Finish Status Test1 xxxxxxxx 11:07 11:10 Passed Test2 Test 2 ----- ----- Ignored Test3 Big test 11:11 11:30 Passed Summary Total number of project test items: 3 Executed project test items: 2 Project test items executed successfully: 2 Failed project test items: 0 Ignored project test items: 1 Whilst, if you have online access the hierarchy of the Test Output is excellent, if you just want to print something off and stick it in a test folder, it is not obvious (if at all) if this cane be done (easily). Thanks, John Printing IssuesI have two issues regarding printing test logs 1. On one PC I get the Print dialog and I am able to print test logs. On another PC with the same TestComplete project the tests run identically, but I do not get the print dialog - it is greyed out. On that PC printers are installed and I can print from Microsoft Office. 2. The other thing is that I have a project with about 200 tests, and it's all really cool, but ideally I'd love to be able to use the Print functionality to print out a complete list of all of the Test Log details, down to individual test level. It may be possible but I can't seem to find how to do that. As I have organised my tests into groups, all I can seem to do is a. Print out the summary page b. Print out the summary for each of the groups one at a time , without the detail. Ideally, a list of all tests, grouped by their groups with all of the test detail would be great for printing out and attaching to the back of a Test Specification. Thanks.