Forum Discussion
Hi tristaanogre
Batch Execution is executing certain number of test cases at once with out any manual intervention in between each test case execution ,normally we do batch execution from minimum 100 test cases to maximum testcases depends on regression bed test cases at once and see there total summary report .
And ya the summary report is the report of total 100 executed test cased report in a simpler format so that we will understand overall execution status .
This batch execution and Summary report i used do in Selenium and UFT but i don't know how to do in test complete.
It depends somewhat on how you have created your test cases in TestComplete. I'm going to assume that each test case is either a different Keyword Test or a different script routine. You can either create a different test item in your project for each test case, then, and then just simply run the project OR you can create another keyword test/script that contains references to all your other tests and create a test item for that one and then, again, just run your project. That will do what you ask, run all your test cases without any manual intervention in between.
As for the summary report, as mentioned, TestComplete creates a pretty good log file on it's own but the amount of detail can be increased based upon how you write your own log records. So, once you run the project as described above, a single log report is created for the entire run with each test item reported as either "green" or "red". The detail on the failed ones is up to you and your scripts.
Here's a couple of articles for you:
https://support.smartbear.com/viewarticle/85275/
https://support.smartbear.com/viewarticle/80690/
Hope this helps!
- JackSparrow9 years agoFrequent Contributor
Thanks tristaanogre SUPER that one a simple way of execution of batch.
But ...by default am saving the log file as html for each test case so that will be test case report of each test case , now how we can set up the summary report of whole execution so that it will not have much detail report just like test case 1 passed , test case 2 passed test case 3 passed test case 4 failed test 5 passed test case 6 failed.
- tristaanogre9 years agoEsteemed Contributor
Couple of things you can do. First of all, you will need to modify your tests to not save the HTML after each test case. The reason being is that the "Export" function of the log method will export everything currently in the log. Running as a batch as I explained puts all the information in the same log file. So, as the second article I linked you to displays, each test item in your project will have it's own node in the test log tree with it's own individual results. See https://support.smartbear.com/viewarticle/82140/ as an example. If you then double click on each node in the displayed tree, you'll see whatever detail is available as to why the result is as it is.
- JackSparrow9 years agoFrequent Contributor
Congratulation tristaanogre for your 2000th Post , ya sure will try it and get back to you.