Run Selenium test from bookmark?

I have several Selenium IDE scripts for automating tasks (deployment to an internal server via its web interface), and I want to have bookmarks to run them.

Do not want to go to Tools โ†’ Selenium IDE โ†’ test test โ†’ run the test, just click the bookmark button and run the script.

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

I donโ€™t know if this matters, but I use Firefox (if I need to change the browser for this, this will not be a problem).

thanks

+7
source share
2 answers

Not sure if you can run the tests by clicking on the bookmark, as browser plugins are usually launched using a key combination. And the bookmark is the URL. Well, the main problem in your question is how to associate a bookmark with launching browser add-ons.

Ok, I researched the lil bit workaround. Speaking about the fact that Selenium HTML Test Suites works automatically (I mean an alternative to bookmarks), some options are possible: solution 1 :

  • Replace Selenium server code to support HTML packages.
  • Create a script to execute your HTML test suites.
  • Create a script to read the output release reports and consolidate the information to be included in the CC.NET report.

Details of the setting can be obtained here.

Solution 2:

  • Firefox Selenium IDE Plugin
  • Java to run Selenium server
  • Selenium server to run test suites
  • Report Nantes for CruiseControl.NET
  • CruiseControl.Net as a Continuous Integration Mechanism

Setting details here

Hope this will be helpful for you.

+2
source

Bookmarks are nothing more than URLs, which makes it impossible to โ€œbookmarkโ€ the functionality of a plugin such as the Selenium IDE.

However, there may be other plugins that do what you want. I did not look more closely at him, but one of the candidates could be the Favorites (Selenium IDE) Firefox Add-in.

+1
source

All Articles