Forum Discussion

JackSparrow's avatar
JackSparrow
Frequent Contributor
9 years ago

Batch Execution of 100 Test Cases and Summary Report of Batch Execution.

Hi All,

 

Does Batch execution is  possible in the Test Complete and please let me know how to do & am using python scripting..

 

How can we use a proper Summary report of all the test cases after execution and check only the failed ones with details(why it got failed).

7 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    What do you mean by "Batch Execution"?

    As for the summary report, the amount of information in the log is up to the person writing the tests. TestComplete does report some information be default but you can add your own Warnings, Errors, and Messages to fill out the details.

    Unless that's not what you meant in your question about the Summary report. Could you describe in more detail what you are looking for?
    • JackSparrow's avatar
      JackSparrow
      Frequent Contributor

      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.

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        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!