How to run a specific suite after all suites?

Hi! Sorry I am quite new with pabot.
I have next structure:
Suite 1
Suite 2
Suite 3

I want to run suite 3 last because the test cases in suite 3 affect the network connection, causing cases from suite 1 and 2 to fail if doing them in parralel.
How can I solve this problem.

Hi Vitaly,

The best approach would be to use a custom ordering file which you can then call in the command line.

For example a file like:
ordering.txt:
--suite Temp.Demo 3 --suite Temp.Demo 1 #WAIT --suite Temp.Demo 2

These suite names/paths that you should use can be found in .pabotsuitenames that is created when you run pabot without an ordering file

Then in the command line you can use:
pabot --ordering suite-order.txt .

Kind regards,
Tim

An additional note that I didn’t know wouldn’t translate is that you should put all the lines in the file on separate lines with enters like this:

--suite Temp.Demo 3
--suite Temp.Demo 1
#WAIT
--suite Temp.Demo 2

1 Like