Last active
September 15, 2022 11:29
-
-
Save SarahElson/a0efe25a326114a9f066e5c876d7c6ae to your computer and use it in GitHub Desktop.
Complete Tutorial On Appium Parallel Testing [With Examples]
This file contains hidden or 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
public class BaseTest { | |
protected DriverManager driverManager; | |
@Parameters ("deviceId") | |
@BeforeClass (alwaysRun = true) | |
public void setupTest (final String deviceId) { | |
this.driverManager = DriverManager.builder () | |
.deviceId (deviceId) | |
.build () | |
.createRemoteDriver (); | |
} | |
@AfterClass (alwaysRun = true) | |
public void tearDown () { | |
this.driverManager.quitDriver (); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment