Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SimpleTest() extends TestBase
- {
- AppiumDriver driver;
- @BeforeSuite
- public void setUp() throws MalformedURLException {
- // DesiredCapabilities and all setup
- }
- @Test(priority = 1)
- public void testcase1()throws InterruptedException {
- login();
- }
- @Test(priority = 2)
- public void testcase2() throws InterruptedException {
- //something
- }
- @Test(priority = 3)
- public void testcase3() throws InterruptedException {
- //something
- }
- @Test(priority = 4)
- public void testcase4 throws InterruptedException {
- //something
- }
- @Test(priority = 5)
- public void testcase() throws InterruptedException{
- //something
- }
- @Test(priority = 6)
- public void testcase6() throws InterruptedException{
- //something
- }
- @Test(priority = 7)
- public void testcase_logout() throws InterruptedException {
- logout();
- }
- @AfterSuite
- public void testCaseTearDown()
- {
- driver.quit();
- }
- }
Add Comment
Please, Sign In to add comment