8000 Extending Xebium with your own fixtures · Issue #120 · xebia/Xebium · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Extending Xebium with your own fixtures #120

Open

Description

Sometimes it'd be handy to write your own fixtures that can access the WebDriver instance created by our SeleniumDriverFixture, without having to explicitly pass that around in the FitNesse tests.

What would be the way to accomplish this? Does FitNesse already provide any infrastructure for this?

Activity

  1. raboof commented on May 5, 2014

    @raboof
    ContributorAuthor

    To whet your appetite: if we can find an elegant way to do this, I'd like to write a query table fixture that gets its data from an HTML table :).

  2. jguglielmi commented on May 6, 2014

    @jguglielmi

    Arnout, I am not sure if this answers your question or not...probably not...but I worked on creating custom fixtures for sikuli that combine selenium and sikulidrivers. A hybrid fixture if you will. Hopefully, this can lead you down the right path. I'd also recommend talking to ejakubowski. He really gave me some good ideas to solve these issues.

    1.defaultwebdriversupplier.java as a bypass. I actually incorporated the sikuliwebdrivers into OASIS to call them directly under the org.sikuli directory.

    1. sikuliwebdriverfixture into xebium modeled on the seleniumdriverfixture and added custom entries to it using javascriptexecutor.

    https://github.com/jguglielmi/OASIS-Maven/tree/master/src/main/java/org/sikuli/webdriver

    https://github.com/jguglielmi/OASIS-Maven/blob/master/src/main/java/com/xebia/incubator/xebium/DefaultWebDriverSupplier.java

    https://github.com/jguglielmi/OASIS-Maven/blob/master/src/main/java/com/xebia/incubator/xebium/SikuliWebDriverFixture.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0