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");
Pls make sure you have the following jars available in C:\Program Files\SmartBear\ReadyAPI-2.2.0\bin\ext
Attached file