I’m trying to Use Pabot to parallelize Robot Tests. Let me explain the issue.
Assume I have
TestB tests. And
There is 2 way/ goal to use the Pabot.
1. Run the same test against the different dataset (e.g different mobile devices) / I know this should be done with
--argumentfileX options flag. So following will be the test runs.
TestA with DataA TestA with DataB TestB with DataA TestB with DataB
It’s obvious that this is useful when you want to run your test against various Env/Data.
2. Divide and split the run time. The goal is to reduce the runtime as much as possible, following is the desired
TestA with DataA TestB with DataB
This one (# 2) is my goal. I’m trying this: python - robot framework with pabot : is it possible to pass two different values to a variable in two tests - Stack Overflow
I mean this command:
pabot --pabotlib --resourcefile Log/pabot_dataset.dat --include test-tag --processes 4 SUITE
But the problem is Importing
Acquire Value Set command should exist in every single robot test-cases which has much cost for me to change the robot files as there are thousands tests here.
So what is the solution?