I've been playing around with a design for a better IDE for Selenium for
a while now. Those efforts have finally come far enough for me to slap
on a 0.1 release label on it and let it out in the wild :)
You can find it at
http://ide4selenium.com/ , with links to a 2-minute demo video, documentation and downloads at the bottom of the page. The
MuseIDE is free.
I was inspired by the ease-of-use and low learning curve of
SeleniumIDE, but for my usage, I need a much more powerful tool. My goals are:
- intuitive UI
- interactive debugging
- minimize coding - testers should be able to build automated tests without coding
- handle complex workflows (conditionals, looping, variable scoping, etc)
- extensible - make it easy to add new capabilities and share those extensions with others.
- maintainable - easily re-use test logic (such as a login process); eliminate duplication of data (especially element locators)
-
integration - fit well into team environments and agile tooling. For
example: open text formats that play well with version control systems,
command-line operation,
JUnit-compatible reports, etc.
- compatibility - Import tests from Selenese (
SeleniumIDE format), expose as much of the Selenium
APIs as possible
- record a workflow for a quick-start on a testcase (and record from multiple browsers)
This first release demonstrates all of the above, except for the recording, which doesn't exist at all (yet). Unlike
SeleniumIDE,
this is not a browser plugin, but a desktop program (Java). It is
definitely not ready for production use - hence the 0.1 label. Coverage
of the Selenium API is fairly low, no waits are implemented, the ability
to build large test suites is fairly limited, etc. But I want to get it
out and see if anyone else is interested in using it.
All of the underlying code required to execute tests built with
MuseIDE is a separate project, the Muse Test Framework, which I've open-sourced at
https://github.com/ChrisLMerrill/muse
. This includes the code to read/write the test files, load projects,
run tests and test suites, and generate reports. It is all included with
the
MuseIDE,
so if you plan to install that, you don't need to download or install
the framework separately. The wiki at the github site will help you get
started if you want to poke into the code.
If you are
interested in a tool like this, I'd love to hear what you think about my
take on it. Does the demo video appeal to you? What features are
important to you?
All feedback is welcome and I'll answer questions here or at:
https://groups.google.com/forum/#!forum/museide