How to pass cucumber tags to run in specific node in selenium grid | Selenium Forum
S
sowndarya Posted on 08/04/2021

Hi Team,

My automation frame work is made of Selenium +Cucumber + Junit. I wanted to set up a grid and run the cucumber features parallely in 5 nodes.
I have 50 automated test cases. There is a limitation in my AUT, where same user cannot login to application in different sessions. Due to this multiple session restrictions, I managed to create 10 sets of test users and passed one test user to 5 automated test cases( For eg testuser1 is passed to test case -1,2,3,4,5 and testuser2 is passed to test case 6,7,8,9,10 .....) and mapped these features with the test user tags (like @testuser1 @testuser2 etc)

Now I would like to know, how can I pass these tags to run the respective test cases in specfic nodes in selenium grid. Please help me!

 

Thanks,

S

 


A
Ashish Replied on 10/04/2021

Thats not possible in grid

You cannot have control over what goes to node