I am a QA engineer attempting to use Selenium to automate an application developed
using SmartGWT. I have been able to develp a script that will execute successfully
in SeleniumIDE. The script has been exported from SeleniumIDE using the
"JUnit 4 (Web Driver Backed)" format which resulted in a Java package.
A project has been created in Eclipse and the package incorportated.
When Eclipse attempts to build, the following error is present;
Here is the method that is generating the error on line "***":
Code:
-----
public void setUp() throws Exception {
WebDriver driver = new FirefoxDriver();
String baseUrl = "http://nke-lnx-pcs-q024/";
*** Selenium selenium = new WebDriverBackedSelenium(driver, baseUrl);
selenium.start();
}
Error:
-----
> Multiple markers at this line
> - The type com.google.common.base.Supplier cannot be resolved. It is indirectly referenced from required .class files
> - Line breakpoint:LandedCost[Line:20 - setUP()
I am using the following configuration:
Eclipse IDE for Java Developers,Version:Helios Service Release 2,Build id: 20110218-0911
External libraries:
----------------
selenium-java-2.0.0.jar
junit-4.9b3.jar
Does anyone know how to resolve this error?
Thanks,
mcarlt
using SmartGWT. I have been able to develp a script that will execute successfully
in SeleniumIDE. The script has been exported from SeleniumIDE using the
"JUnit 4 (Web Driver Backed)" format which resulted in a Java package.
A project has been created in Eclipse and the package incorportated.
When Eclipse attempts to build, the following error is present;
Here is the method that is generating the error on line "***":
Code:
-----
public void setUp() throws Exception {
WebDriver driver = new FirefoxDriver();
String baseUrl = "http://nke-lnx-pcs-q024/";
*** Selenium selenium = new WebDriverBackedSelenium(driver, baseUrl);
selenium.start();
}
Error:
-----
> Multiple markers at this line
> - The type com.google.common.base.Supplier cannot be resolved. It is indirectly referenced from required .class files
> - Line breakpoint:LandedCost[Line:20 - setUP()
I am using the following configuration:
Eclipse IDE for Java Developers,Version:Helios Service Release 2,Build id: 20110218-0911
External libraries:
----------------
selenium-java-2.0.0.jar
junit-4.9b3.jar
Does anyone know how to resolve this error?
Thanks,
mcarlt
Comment