Announcement

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

    Converting Selenium IDE test case using SeleneseRunner

    SmartClient version 10.0p-20150804 sku lgpl

    Selenium 2.46

    Firefox 39.0 on windows 8.1 64 bit O/S

    Java SDK 1.8

    I am trying to convert a test case using the SeleneseRunner but I am getting the following error. Any hints as to what I might be missing?

    C:\Program Files (x86)\Selenium\SmartClient_v100p_2015-08-04_LGPL\smartclientSDK\WEB-INF\lib-WebDriverSupport>java -cp filterbuilder.jar;htmlparser.jar;isomorphic_webdriver.ja
    r;json-20080701.jar;junit-4.8.1.jar;sax2.jar;selenium-java-2.31.0.jar;thumbelina.jar;guava-10.0.1.jar;commons-exec-1.1.jar;httpcore-4.2.1.jar;httpclient-4.2.1.jar;commons-logg
    ing-1.1.1.jar;selenium-java-2.46.0.jar com.isomorphic.webdriver.SeleneseRunner -s c:\temp\run.out "http://www.msn.com" C:\Users\rebeccah\Documents\SeleniumTests\CreateLearnin
    gConfigVerifyNamePrefix.rctest.html
    baseUrl: http://www.msn.com
    Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function
    at com.isomorphic.webdriver.SeleneseRunner.parseEntry(SeleneseRunner.java:253)
    at com.isomorphic.webdriver.SeleneseRunner.main(SeleneseRunner.java:210)
    Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 2 more
    Attached Files

    #2
    This is one of many instances where it's sufficient to just Google the error message - here's the first hit.

    Comment

    Working...
    X