Forum Discussion

zhen_jane's avatar
zhen_jane
New Contributor
5 years ago
Solved

TestExecute: Run test items without killing the process

I am imagining an extreme testing scenario is that I load some data and call a few tests, and then load some data and call a  test again(because I may not know how much data I need to initiate at the beginning. Or if the data-driven functions can let me read data from different files loaded specifically for different tests, that would work for me too - I am new to TestComplete, so a quick answer would make the evaluation easier to me). TestExecute has to be launched and exited repetetively; I wonder why it is designed so and if there is anyway to repetetively call TestExcute without killing the process and relaunch it.

  • If you are running TestExecute where you are running individual tests via commandline, this is how it is done.

     

    If you want to run a bunch of tests all at once in one call to TestExecute, this is what "TestItems" are for.  You configure a list of TestItems in your project to execute in a particular order and then you just run the full project without needing to run individual test items.

     

    See https://support.smartbear.com/testcomplete/docs/testing-with/running/in-batch.html

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    If you are running TestExecute where you are running individual tests via commandline, this is how it is done.

     

    If you want to run a bunch of tests all at once in one call to TestExecute, this is what "TestItems" are for.  You configure a list of TestItems in your project to execute in a particular order and then you just run the full project without needing to run individual test items.

     

    See https://support.smartbear.com/testcomplete/docs/testing-with/running/in-batch.html