My Thoughts: FAILED CONFIGURATION: @BeforeTest setUpDriver java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.executeAsync()V

Thursday, April 26

FAILED CONFIGURATION: @BeforeTest setUpDriver java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.executeAsync()V



Today we have noticed the below errors while running our test scripts.


FAILED CONFIGURATION: @BeforeTest setUpDriver
java.lang.NoSuchMethodError: org.openqa.selenium.os.CommandLine.executeAsync()V
at org.openqa.selenium.firefox.FirefoxBinary.startFirefoxProcess(FirefoxBinary.java:92)
at org.openqa.selenium.firefox.FirefoxBinary.startProfile(FirefoxBinary.java:87)
at org.openqa.selenium.firefox.FirefoxBinary.clean(FirefoxBinary.java:225)
atorg.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:76)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:157)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:93)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:136)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:78)



So we have removed Android jars(android_webdriver_library-srcs.jar ,android_webdriver_library ) from our project Build path , then all the scripts started working fine.

We are still searching why this conflict happened and how to overcome this :)

No comments:

Post a Comment