@DataProvider
public static Object[][] credentials() {
return new Object[][]{{"7.1.1", "Pixel_XL_API_25"}, {"6.0.0", "Nexus_6_API_23"}};
}
Richard
@BeforeSuite is designed to run ONLY once per <suite>.
If you want it to be run multiple times then you would need to choose one of the other alternatives :
1. @BeforeTest - runs before every <test>
2. @BeforeClass - runs before any @Test method in a test class gets executed
3. @BeforeMethod - runs before a @Test method.
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+...@googlegroups.com.
To post to this group, send email to testn...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
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/