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

Extending Xebium with your own fixtures #120

Open
raboof opened this issue Apr 30, 2014 · 2 comments
Open

Extending Xebium with your own fixtures #120

raboof opened this issue Apr 30, 2014 · 2 comments

Comments

@raboof
Copy link
Contributor

raboof commented Apr 30, 2014

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?

@raboof
Copy link
Contributor Author

raboof commented May 5, 2014

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 :).

@jguglielmi
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants