0

On applying Selenium Grid concept only one random node among several nodes is chosen for execution. How to make the same test to be executed on multiple nodes? The combination I use to execute the script: Selenium(Java)+Junit Framework.

Shubham Jain
  • 16,610
  • 15
  • 78
  • 125
Dhuruvan
  • 91
  • 10

1 Answers1

0

You mean to say, the same script should be executed on desired node on each time of execution. So that you can test on particular node. if your nodes are different configuration than you can try using the other parameter/capabilities like OS name, browser version, etc...

Murthi
  • 5,299
  • 1
  • 10
  • 15
  • Any node can be accessed but i need to run the script among all the nodes! consider like 3 users hitting the application from 3 different machine(with same version of browsers and OS), to achieve this i had used 'Selenium Grid' concept, but on executing the script in grid executes the script only on one of the nodes. @Murthi – Dhuruvan May 23 '17 at 07:53
  • This can be achieved with testng with parallel attribute using suite XML file. But I don't have idea using junit. If you are using maven then you trigger the same script with three different command prompt in same machines. It will trigger same script on each node. – Murthi May 23 '17 at 17:15