When I am running, appium basic test ,then error message showing

can you show BeforeClass configuration?

Next time can you post as text? Can’t copy/paste from a screenshot.

public void configuration() throws MalformedURLException {
service = new AppiumServiceBuilder()
.withAppiumJS(new File(
// service.start();
UiAutomator2Options options = new UiAutomator2Options();
driver = new AndroidDriver(new URL(“”), options);

you can try to add this after
.usingPort(4723).usingDriverExecutable(new File(“C:\Program Files\nodejs\node.exe”)).build();
driver = new AndroidDriver(new URL(“”), options);

  • upgrade your appium java-client to version 8.5.0

instead to use the constructor configure() in normaTest class try this:
public void normalTest extends (the class that contains your configuration)

1 Like

After appium client server updation,that’s working correctly