Forum Discussion

ovidoo83's avatar
ovidoo83
Occasional Contributor
14 years ago

TestCases executed one by one

Hi there!

I'm stuck with my LoadUI project.
I have a project that contains several TestCases.
What I;m trying to do is to execute the project from the command-line and have the testcases ran one at a time, not in parallel. So if I have 3 testcases in the project I want them to be executed 1 then 2 then 3 so this way my pc won't go out of memory.
I know I can execute each testcase at a time from cmd, but I don't want that, I want to run the whole project because I only want one xml report.

Thanks.

Ovi
  • Hi!

    That's a job for Scheduler Components (they can be connected to TestCases). Read more about them in the documentation here, hereand here.

    Regards!

    Henrik, SmartBear
  • ovidoo83's avatar
    ovidoo83
    Occasional Contributor
    Thanks for the answer, but I have an issue with that.
    I have 27 testcases in the Project so it will be hard to add 27 schedulers.
    I'm looking for a way to run the testcases one by one without populating the project so much.

    thanks
  • ovidoo83 wrote:
    Thanks for the answer, but I have an issue with that.
    I have 27 testcases in the Project so it will be hard to add 27 schedulers.
    I'm looking for a way to run the testcases one by one without populating the project so much.

    thanks

    Sorry, but there's no way to do that. I wouldn't recommend having 27 testcases in the same project regardless, because it will likely slow things down and cause a mess in project-common views like the Statistics Workbench.

    Regards

    Henrik
    SmartBear Software