Can we invoke Selenium Webdriver through SOAP UI Pro
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can we invoke Selenium Webdriver through SOAP UI Pro
Getting this error:
java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter; error at line: 8
Here is the code Groovy script code:
import org.openqa.selenium.By;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.WebElement;
log.info("The Chrome driver test");
System.setProperty("webdriver.chrome.driver", "C:\\Users\\nhy1117\\Downloads\\chromedriver_win32\\chromedriver.exe");
// Initialize browser
def driver = new ChromeDriver();
// Open Google
driver.get("http://www.google.com");
// Maximize browser
driver.manage().window().maximize();
log.info("Go to the launch page");
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2. What is your use case?
3. Why do you want to link you web testing to groovy script while you can execute the tests independently?
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
You have:
cglib-nodep
jna
jna-platform
selenium-api
selenium-chrome-driver
selenium-remote-driver
selenium-server-standalone
I have:
byte-buddy
client-combined
client-combined-sources
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Am using selenium web driver itself and the chrome driver.exe may be its not updated with the latest version of Chrome Browser.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regards,
Rao.
