Denish,
Lot of things have changed between those versions.
TestNG was updated in 6.10 as part of GITHUB-1156 changeset to start respecting the following ordering:
Hierarchy on order features (from less important to more important): groupByInstance, preserveOrder, priority, dependsOnGroups, dependsOnMethods
In your case, you have specified priority for each of the test methods in each of the test classes.
So TestNG is basically picking up @Test methods as below:
So if you need the order to be maintained as is, you would need to get rid of priority in all of your test methods. That would cause TestNG to respect preserve-order=true (which is set by default).
Hope that helps!
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/
Reply-To: <testng...@googlegroups.com>
Date: Sunday, April 1, 2018 at 10:39 PM
To: testng-users <testng...@googlegroups.com>
Subject: [testng-users] Getting result in an improper sequence after updating testng from 6.8.8 to 6.14.2
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users+unsubscribe@googlegroups.com.
To post to this group, send email to
testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
What sample are you looking for?
You just need to remove off the “priority” attribute of your @Test annotation.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/
Reply-To: <testng...@googlegroups.com>
Date: Monday, April 2, 2018 at 9:35 PM
To: testng-users <testng...@googlegroups.com>
Subject: Re: [testng-users] Getting result in an improper sequence after updating testng from 6.8.8 to 6.14.2
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to
testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to
testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "testng-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/testng-users/dGnFiWX55ys/unsubscribe.
To unsubscribe from this group and all its topics, send an email to testng-users...@googlegroups.com.