Class BaseAppiumTest

java.lang.Object

public class BaseAppiumTest
extends BaseExtendableTest<AppiumTestObject>
Base Appium Test Class.
  • Constructor Details

    • BaseAppiumTest

      public BaseAppiumTest()
      Initialize a new instance of the BaseAppiumTest class.
  • Method Details

    • getAppiumDriver

      public io.appium.java_client.AppiumDriver<org.openqa.selenium.WebElement> getAppiumDriver()
      Gets the appium driver.
      Returns:
      the appium driver
    • setAppiumDriver

      public void setAppiumDriver​(io.appium.java_client.AppiumDriver<org.openqa.selenium.WebElement> mobileDriver)
      Sets appium driver.
      Parameters:
      mobileDriver - the mobile driver
    • getMobileDriver

      protected io.appium.java_client.AppiumDriver<org.openqa.selenium.WebElement> getMobileDriver()
      Gets new mobile driver.
      Returns:
      the mobile driver
    • beforeLoggingTeardown

      protected void beforeLoggingTeardown​(org.testng.ITestResult resultType)
      Steps to do before logging teardown results.
      Specified by:
      beforeLoggingTeardown in class BaseTest
      Parameters:
      resultType - The test result
    • createNewTestObject

      protected void createNewTestObject()
      Specified by:
      createNewTestObject in class BaseExtendableTest<AppiumTestObject>