JavaScud | Forum | JIRA | Blog |
  Dashboard > Selenium 中文 > ... > Selenium Core - Wiki > Contributed User-Extensions
  Selenium 中文 Log In View a printable version of the current page.  
  Contributed User-Extensions
Added by Tin Steeler, last edited by Tin Steeler on Nov 07, 2006
Labels: 
(None)

This page intends to be a repository for selenium extensions that may be useful to the community.

For each proposed extension, please provide

  • on this page
    • a name (as a h4 title)
    • a short description
    • a more... link pointing to the dedicated page (see below)
  • on a dedicated child page, following section (using h3 titles)
    • description
    • example of use
    • notes (optional)
    • license : we recommend either the Apache License 2.0 or public domain
    • download : a link to a zip archive which is attached to the page. It contains :
      • a file named user-extensions.js.<extension_name> containing the code to include in user-extensions.js
      • html tests that can be placed under selenium_ROOT/tests and added to testSuite in order to test the extension
      • it is better if those files are contained in a directory with the name of your extension.

If you correct a bug in an extension update the package.

If you change some behaviour to a new one you should post it as a new version for this extension. (adding a note and a link to your archive)

Feel free to add a new category.

General

debug breakpoint

switches selenium to the 'Step' mode [more...]

Locators

GUI Map

allows to utilize in the selenium concept of GUI map [more...]

selectWindow

Support Nested frame and window name is null more...

selenium-0.7-update

Run test in new window,Show report,Support Nested frame and window name is null etc....   more...

labelText

Locate a form element by its label text [more...]

locateCookie

Looking up a cookie value by its name. [more...]

Actions

eval

Evaluates a snippet of JavaScript [more...]

include

add the content of another test to the current test [more...]

store...Global

store variables globally, making them available to subsequent tests [more...]

storeXpath, verifyXpath, assertXpath

Store Xpath evaluations and verify or assert on them (practical for count or other xpath functions) [more...]

selectFrame

select a frame to test the components in it [more...]

waitForCondition

Waits for any arbitrary condition, by running a JavaScript snippet of your choosing. Use this for your AJAX testing! [more...]

test flow control

Implements various forms of 'goto' command + 'While' cycle:

gotolabel
gotoIf
assertNoFailureOnNextAndGoto
while / endWhile

[more...]

updateFeedback

Allows Selenium tests to give better user feedback while being executed. [more...]

removeCookie

Removing a cookie. [more...]

storeGetVars

Stores a requested variable '?var1=value1&var2=value2' from the url. [more...]

Assertions

assertTextPresetCount

verifies that the specified text is present with specified count [more...]

assertNumericCompare

Basic numeric comparisons, between two numbers or a number (in test column a) and a range (in test column b). [more...]

Site running on a free Atlassian Confluence Open Source Project License granted to WebWork China. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.3 Build:#808 May 29, 2007) - Bug/feature request - Contact Administrators