Use the priority like
@Test(priority=0) like wise give the same according to ur order how u want.n remember negative will alys take the highest priority.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a7d69731-330e-4921-bf0a-bbd9815ed34e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Use can try with testng which is inspired from junit itself... And just try and let us know..
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8826fdde-65fb-4c23-86ed-62f157272d88%40googlegroups.com.
What has this question got to do with selenium ?
Have you tried posting this on a relevant JUnit forum ?
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8826fdde-65fb-4c23-86ed-62f157272d88%40googlegroups.com.