Forum Discussion

sdruker's avatar
sdruker
Contributor
12 years ago

Manage\parameterize which test items running during project excecution

Hi,



I have project suite with one project inside .

 under the organize test items window I have folders with a series of keyword tests, each folder is an independent flow .

I'm scheduling night runs from the window scheduler and  all the checked folders are running as a one big flow.

 I wanted to know if  there is a way to control  by forwarding parameters or something, which folder to run in each execution.





Thanks,

Sivan

2 Replies

  • ray_mosley's avatar
    ray_mosley
    Frequent Contributor
    My issue is related, but I have one project suites with multiple projects.



    I started another thread about how to implement "Fire & Forget" tests, so I am trying to execute tests using .bat files - currently just a sequence of DOS start commands for TestComplete execution. I have test items grouped under folders in my projects, but from the command line documentation, I do not see a way to select a FOLDER as an option.



    I can select an item IN the folder, but not the entire FOLDER. Any suggestions?



    Forgive me if I have strayed off-topic, but I am attempting to solve the issue with batch files, but programmatic selection would be ideal as well.  Thanks.
  • I write a 'suiterunner' unit - this reads 'whichTestToRun' from environment variables - this is useful as Jenkins also sets environment variables when using a Jenkins parameterised build.