Can I use Cucumber with Selenium Grid to run the scripts on different node at the same time?

517 Views Asked by At

I have searched for same but faced with failure. Is there any other tool which can be utilised effectively to run the scripts on multiple node?

2

There are 2 best solutions below

2
sayhan On

Posible duplicate of : How to execute cucumber test cases in parallel using Grid?

For me, TestNG is good to parallelize your tests and here is a question and answer about it : How to run the cucumber test parallelly_Junit/TestNg

1
Sureshmani Kalirajan On

Cucumber 4 provides native support to run scenarios in paralllel. You dont need cucumber -Jvm. you have to put number of threads in the runner file (--thread = 2) and just pass the selenium hub to your selenium driver during initialization.