Forum Discussion

theresacourage's avatar
theresacourage
New Contributor
7 years ago
Solved

How do I group tests into tests suites in Test Complete?

I want to be able to tun more than one test sequentially and can't find a way.  Also I want to export the test results of more than one test and can't do that.  There must me a way.

 

Does anyone know?

  • I'm assuming all your tests are in a single project?  

     

    There are multiple ways of doing what you want.  The EASIEST is to go is to go to View | Organize tests.  This will take you to the "Test Items" panel of your project.  For every test you want to run, add a test item here to point to your test and organize them in the desired order.  When you run your project then, that will run the tests.

     

    Now, you can get more complex by writing code, keyword tests, etc., that,themselves, run the tests.  There are any number of strategies where you can build a coded framework to execute the desired set of tests.  I would strongly suggest aiming in that direction in some day because it will allow you a much greater flexibility in constructing report output, error/exception handling, conditional test runs, etc.  

2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    I'm assuming all your tests are in a single project?  

     

    There are multiple ways of doing what you want.  The EASIEST is to go is to go to View | Organize tests.  This will take you to the "Test Items" panel of your project.  For every test you want to run, add a test item here to point to your test and organize them in the desired order.  When you run your project then, that will run the tests.

     

    Now, you can get more complex by writing code, keyword tests, etc., that,themselves, run the tests.  There are any number of strategies where you can build a coded framework to execute the desired set of tests.  I would strongly suggest aiming in that direction in some day because it will allow you a much greater flexibility in constructing report output, error/exception handling, conditional test runs, etc.  

  • NisHera's avatar
    NisHera
    Valued Contributor

    also as a best practices one tests shouldn't depend on previous test.