Steps To Reproduce
- Login to Baidu
- Search something
- Set thread-count = 5 Expected behavior Each thread should initial one driver. For example, i have 3 cases, should start 3 drivers.
Actual behavior All the thread use the same one driver (it means only start 1 driver). For this, if the case has many steps, it seems not support multiple threads due to the only one drier.
This is possible duplicate of how-to-run-test-cases-in-parallel and qaf-weird-behavior-for-parallel-testing
For data driven tests, set
global.datadriven.parallel=true
and set thread count in xml configuration file usingdata-provider-thread-count