Getting this error:
java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorServiceLcom/google/common/util/concurrent/SimpleTimeLimiter; error at line: 8
Here is the code Groovy script code:
log.info("The Chrome driver test");
// Initialize browser
def driver = new ChromeDriver();
// Open Google
// Maximize browser
log.info("Go to the launch page");
Solved! Go to Solution.
1.It was missing jar.
2. One part of the use case needs web interaction and other part should interact with web services, to complete that scenario.
Due to this I wanted to invoke the web application using as ReadyAPI supports it through Groovy script.
3.Can you please elaborate what you meant by "while you can execute the tests independently"
I'm having the exact same problem. Can you please give me information on the missing JAR file?
The error message "com.google.common.util.concurrent.SimpleTimeLimiter.create" if googled will reference Guava: Google core lib's. guava-23.0.jar is already included with the Webdriver jar files.
What it is and where I can get it?
A couple of things:
I'd like to know the name of the jar file that you identified earlier in the thread. I'm thinking it was the guava.jar file.
Are you running Selenium standalone server? I'm using Selenium Webdriver and I see a significant difference in some files.
The rest are common between us.
I believe that the issue is either a missing file as you mentioned or a versioning issue. My versions are all newer than yours.
Another question is Chrome v62 and chromedriver.exe compatible with the current Webdriver release, or which release is it compatible with if this is an issue?
Am using selenium web driver itself and the chrome driver.exe may be its not updated with the latest version of Chrome Browser.
No, I have the latest supported pairing of Chrome v62 and chromedriver.exe v2.33.
Earlier you wrote:
11-10-2017 05:55 AM
1.It was missing jar.
Which jar were you missing?
Who marked this as solved??? ITs anything but solved...
There is a ticket open as well but pushed off until v2.4. this doesn't help my current project.