What is the default execution order testNG follow? What does @Test(priority = 5) do ?

Testng follows the Alphabetical order by default. When Priority = 1 then this will run first.. when Priority=5 it will run after 1, 2 ,3 ,4 which means the lesser priority .

Leave a Reply