Selenium Inspector - simplify automated testing of Web apps


News: Selenium Inspector - simplify automated testing of Web apps

  1. TeamDev announces the release of Selenium Inspector, an open source library for simplifying automated testing for Web applications. Selenium Inspector is built on top of the popular Selenium testing framework, and enhances its abilities for component-oriented testing, and simplifies testing of any HTML-based applications as well. Selenium Inspector API allows to create testing solutions for variety of HTML rendering frameworks like JSF component libraries, Spring MVC, Struts, etc. Now web developers can create object-oriented testing APIs for any Web UI library. The Java API for inspecting OpenFaces components is already included. With Selenium Inspector you'll get the following:
    • Ability to check actual view of an element style instead of what is declared in CSS but may not be actually applied.
    • Specialized higher-level Java API which simplifies inspection not just on primitive elements, but on compound HTML tags, such as ‹table›,‹ul›, etc.
    • A wide set of assertion methods for checking actual values of attributes and styles of HTML elements as well as evaluating actual results of client side expressions.
    • Selenium Inspector is easy to customize and extend.
    • And its free!
    Learn more in the product documentation and the product site. If you want to share your feedback, thoughts and ideas, or just need an advice, want to submit a feature request or a bug, you are welcome to contribute and participate!
  2. I get the following error when I tried running the sample code. Do I need setup selenium server explicitly? java.lang.RuntimeException: Can't obtain selenium. SeleniumFactory isn't specified. at org.seleniuminspector.SeleniumHolder.getSelenium( at org.seleniuminspector.junit4ex.StopBrowserRun.evaluate( at org.junit.runners.BlockJUnit4ClassRunner.runChild( at org.junit.runners.BlockJUnit4ClassRunner.runChild( at org.junit.runners.ParentRunner.runChildren( at org.junit.runners.ParentRunner.access$000( at org.junit.runners.ParentRunner$1.evaluate( at org.junit.internal.runners.statements.RunBefores.evaluate( at org.junit.internal.runners.statements.RunAfters.evaluate( at at at at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests( at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests( at at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
  3. You have to configure Selenium Factory in order to run tests. Selenium server host, port, browser path, and browser url should be specified at least. Selenium Insector provides SeleniumWithServerAutostartFactory that allows to start selenium server in lazy mode. Please visit updated Developers Guide for more details.
  4. To try the new Selenium Inspector API, I wrote the same program in 3 different ways. Selenium Inspector was easy to use and the nice thing is that you can still use the selenium api along side with the Inspector objects.
  5. Maven Repository[ Go to top ]

    Is Selenium Inspector available in a maven (maven 2) repository? It would be really helpful if it was. It looks like a great tool and I'm considering using it in our projects here.