Beyond Selenium

From STIQ

Jump to: navigation, search

Contents

Selenium Extensions

STIQ includes new "Selenese" commands and locators that extend Selenium using the standard extension mechanism.

Commands

The following commands are unique to STIQ:

If you are using Selenium IDE, you can have it include these commands in its list by referencing the \repository\extensions\stiq-extensions.js file -- see Selenium_IDE for more information.


Locators

The following locators are unique to STIQ:

  • ui Locator defined in the ui-map.js file. UI Map locators maps more readable locators to less readable ones.

FitNesse Widgets

STIQ pages are served by a modified FitNesse wiki engine. We've added widgets using FitNesse's extension mechanism.

The following widgets are unique to STIQ:

  • !components -- Creates a suite table of "STIQ Component" pages.
  • !contents -- Displays a table-of-contents of the sub-tree.
  • !contentstree -- Displays a treeview of the hierarchical contents of a page.
  • !include -- Includes another page (or component) into the current page, enabling reusability.
  • !random -- Renders a random alphanumeric value.
  • !suite -- Creates a suite table of "STIQ Test" pages.
  • !tag -- Marks a test with a keyword or tag (to be included in a !tagsuite)
  • !tagsuite -- Creates a suite table of "STIQ Test" pages which have been tagged (!tag).
  • !comments -- Displays a table of comments which are aggregated from tests.
  • !xref -- Creates a link that opens in a new window.
Personal tools
Noteworthy