Forum Discussion

lbbodis's avatar
lbbodis
Occasional Contributor
3 years ago
Solved

Test run timing

I put the test cases into the execution Plan.
I want to perform one after the other.
Can I set the run time in advance (e.g. 03:05 AM for the night)?
If so, where and how should this be set?

  • lbbodis,

     

    Scheduling tests can't be done directly in TestComplete, you can however use 3rd party tools to initiate the tests or Windows Task Scheduler.

     

    They can be started from

    - Jenkins (with TC addon) or other CI/CD tool - TeamCity, etc..

    - from CLI

     

    The simplest way is with Windows command line and Windows Task Scheduler.

    https://support.smartbear.com/testcomplete/docs/testing-with/running/scheduling.html

    - I have found this approach does not mix well with some domain security policies

       - (CMD / Batch / BASH / Powershell or Task Scheduler may be disabled from domain admin)

1 Reply

  • Lee_M's avatar
    Lee_M
    Community Hero

    lbbodis,

     

    Scheduling tests can't be done directly in TestComplete, you can however use 3rd party tools to initiate the tests or Windows Task Scheduler.

     

    They can be started from

    - Jenkins (with TC addon) or other CI/CD tool - TeamCity, etc..

    - from CLI

     

    The simplest way is with Windows command line and Windows Task Scheduler.

    https://support.smartbear.com/testcomplete/docs/testing-with/running/scheduling.html

    - I have found this approach does not mix well with some domain security policies

       - (CMD / Batch / BASH / Powershell or Task Scheduler may be disabled from domain admin)