Skip to content

Instantly share code, notes, and snippets.

View rookieInTraining's full-sized avatar
🇮🇳

Ish Abbi rookieInTraining

🇮🇳
View GitHub Profile
@rookieInTraining
rookieInTraining / TestNGSeleniumSkipTest.java
Last active March 11, 2021 11:12
Gist for the code used to reproduce the skip exception's throwable missing in ITestResult
package com.sample.tests;
import io.github.bonigarcia.wdm.WebDriverManager;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.edge.EdgeOptions;
import org.testng.ITestResult;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
Exception in thread "main" java.lang.AbstractMethodError: Receiver class io.appium.java_client.service.local.AppiumServiceBuilder does not define or inherit an implementation of the resolved method abstract createArgs()Ljava/util/List; of abstract class org.openqa.selenium.remote.service.DriverService$Builder.
at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:412)
at com.spr.core.ui.WebDriverThread.main(WebDriverThread.java:140)