Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Last active September 15, 2022 11:29
Show Gist options
  • Save SarahElson/a0efe25a326114a9f066e5c876d7c6ae to your computer and use it in GitHub Desktop.
Save SarahElson/a0efe25a326114a9f066e5c876d7c6ae to your computer and use it in GitHub Desktop.
Complete Tutorial On Appium Parallel Testing [With Examples]
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