Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Selenium compile error problem

    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

    #2
    You might try forums dedicated to Selenium. So far as we can tell, this setup does not yet even reference SmartClient / SmartGWT.

    Comment


      #3
      From a quick google search.

      Comment


        #4
        Originally posted by smartgwt.dev
        From a quick google search.
        Thanks for the information. If this is an Eclipse problem, anybody know how to fix it?

        mcarlt

        Comment

        Working...
        X