Tuesday, January 13, 2009

Selenium IDE include command for template

There is a useful extension for Selenium-Core: include, which can add the content of another test to the current test. Then it is possible to reuse test scripts for Selenese. See OpenQA wiki: http://wiki.openqa.org/display/SEL/include

However, it supported Selenium-Core only. Many Selenium-IDE users also want to use this feature. So I've ported the existing include extension to work in Selenium IDE. I added it to wiki: http://wiki.openqa.org/pages/viewpageattachments.action?pageId=283

  • target receives the page address (relative path from base url or use absolute path)
  • text receives vars names and their values for this test as a comma separated list of var_name=value


  • include step run in Selenium-IDE looks like:

    Please set user-extension.js path for SeleniumIDE->options->Selenium Core Extensions

    37 comments:

    1. I am getting error when installing this extension
      the error is " error loading Selenium IDE extensions : ReferenceError : Selenium is not defined

      ReplyDelete
    2. I got the same error, what is the solution to this?

      ReplyDelete
    3. A truly happy person is one who can enjoy the scenery on a detour..............................................

      ReplyDelete
    4. Since it is the early worm that gets eaten by the bird, sleep late. ....................................................

      ReplyDelete
    5. Try loading it as a Core extension.

      ReplyDelete
    6. 你可以從外表的美來評論一朵花或一隻蝴蝶,但你不能這樣來評論一個人........................................

      ReplyDelete
    7. 人生最可憐的是半途而廢,最可悲的是喪失信心,最遺憾的是浪費時間,最可怕的是沒有恆心。 ....................................................

      ReplyDelete
    8. 愛,拆開來是心和受兩個字。用心去接受對方的一切,用心去愛對方的所有。............................................................

      ReplyDelete
    9. 噴泉的高度,不會超過它的源頭。一個人的事業也是如此,它的成就絕不會超過自己的信念。.................................................................                           

      ReplyDelete
    10. 向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................

      ReplyDelete
    11. 當一個人內心能容納兩樣相互衝突的東西,這個人便開始變得有價值了。............................................................

      ReplyDelete
    12. 人生就像一顆核桃,必須敲破它,才會顯出他的內容。.......................................................

      ReplyDelete