Announcement

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

    Selenium webdriver testing with custom Firefox profile using SmartClientFirefoxDriver

    Hello smartclient guys,

    Trying to test SmartGWT 4 app under firefox, by writing
    Java test classes using your webdriver implementation.

    Is there any way to do something like that:
    ---------------------------
    File profileDir = new File("src/test/resources/my_profile");
    FirefoxProfile profile = new FirefoxProfile(profileDir);
    driver = new FirefoxDriver(profile);
    ----------------
    with SmartClient's firefox "webdriver" class ?


    SmartClientFirefoxDriver have no parameterized constructor, and is not inherited from any seleniumhq class, so, is it possible at all?

    P.S. Plz update class names in "webdriver classes overview" here: http://www.smartclient.com/smartgwtee/javadoc/index.html?com/smartgwt/client/docs/AutomatedTesting.html

    #2
    Profile Inject

    Currently the API doesn't allow custom profiles. There will be an update shortly to allow use with the latest versions of WebDriver (as there has been a slight change in the WebDriver API causing compatibility issues). The new update will include support for profiles. I'll follow up this message with the details when this is available.

    Comment


      #3
      API updated

      The latest daily build now has the updated API in. Hope this is of help to you.

      Comment

      Working...
      X