SimitTomar / wdio-cucumber-parallel-execution

A WebdriverIO capability for running Cucumber scenarios in parallel.
25 stars 10 forks source link

How can I get a thread number? #12

Closed Naumych closed 4 years ago

Naumych commented 4 years ago

Hello. I need to run my tests in parallel, but I'm not able to use one user. It should use different users in one time. I need to know number of thread to use corresponding user. How can I get a thread number?

SimitTomar commented 4 years ago

The Number of threads are defined by WebdriverIO's maxInstance attribute, specified in the Config File. Handling of Multiple Users should be done through your Automation Scripts. This module simply creates multiple Feature File out of a single FF which then get picked up by WebdriverIO's test runner. It has nothing to do with the User Vs Thread Allocation