Why is the execution priority not working in Testng Runner? | Selenium Forum
P
Pravin V. Kumbhare Posted on 18/08/2021

Hello sir,

 

Attached herewith is my code for programmatic running of testng.xml (the SimpleRunner class from TestNG Datadriven framework lectures.

I set the execution priority from the SimpleRunner class, but the output shows that execution is in the alphabetical order.

Can you help me understand what's wrong with my code?

 


P
Pravin V. Kumbhare Replied on 19/08/2021

Don't know what's wrong with this, but I created EXACTLY the same Java file again, and it's working