Launching Selenium test from bookmark?

I have some Selenium IDE scripts for automating tasks (deploying to an internal server via it's web interface), and I want to have bookmarks to launch them.

Don't want go to Tools -> Selenium IDE -> search test -> launch test, just want to click a bookmark and let the script run.

How can I achieve this? Am I missing a point?

Don't know if it makes a difference, but I'm currently using Firefox (if I have to change browser for this, it wouldn't be a problem).

Thanks


Not sure whether you be able to run tests pressing on a bookmark as browser plugins are usually run with a key combo. And bookmark is URL. Well the main issue in your question how to associate bookmark with browser addon launching.

Well, I've investigated a lil bit workaround. Speaking about getting Selenium HTML Test Suites Running Automatically (i mean an alternative to bookmarks) some solutions are possible: solution 1 :

  • Patch the Selenium server code to support HTML suites.
  • Build a script to execute your HTML test suites.
  • Build a script to read the suites' output reports and consolidate the information for inclusion into your CC.NET report.
  • Setup details you can get here

    Solution 2:

  • Selenium IDE plugin for Firefox to create tests
  • Java to run Selenium Server
  • Selenium Server to run test suites
  • Nant to generate reports for CruiseControl.NET
  • CruiseControl.Net as a continuous integration engine
  • Setup details here

    Hope this be useful for you.


    Bookmarks are nothing else than URLs, which makes it impossible to "bookmark" a functionality of a plugin, such as the Selenium IDE.

    However, there might be other plugins out there that do what you want. I haven't had a closer look at it, but one candidate could be the Favorites (Selenium IDE) Firefox Add-on.

    链接地址: http://www.djcxy.com/p/11204.html

    上一篇: 从applicationContext.xml读取一个环境变量

    下一篇: 从书签启动硒测试?