Created
October 15, 2022 05:59
-
-
Save mfaisalkhatri/c23804f8e9640dce0b18ebe68dd690b9 to your computer and use it in GitHub Desktop.
Base Test class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static io.github.mfaisalkhatri.drivers.DriverManager.createAndroidDriver; | |
import static io.github.mfaisalkhatri.drivers.DriverManager.quitSession; | |
import org.testng.annotations.AfterClass; | |
import org.testng.annotations.BeforeClass; | |
public class BaseTest { | |
@BeforeClass | |
public void testSetup() { | |
createAndroidDriver(); | |
} | |
@AfterClass | |
public void tearDown() { | |
quitSession (); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment