A flow control plugin for Selenium IDE
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content/extensions Still trying to make the changes simple enough that GitHub's 3rd rate… Nov 26, 2011
defaults Eliminate "missing new line" warnings Nov 26, 2011
demos Simplified example in for each demo. Dec 16, 2011
locale
skin Eliminate "missing new line" warnings Nov 26, 2011
CHANGELOG.md Added CHANGELOG. Dec 16, 2011
README.md Formatting improvements to README. Dec 16, 2011
build.bat Some fixes to make the build go cleanly: Nov 15, 2011
build.sh
chrome.manifest Improvements to build script. Corrected credits. Aug 3, 2010
chrome.manifest.production Improvements to build script. Aug 3, 2010
clean.bat
clean.sh
install.rdf Renamed to Selenium IDE: Flow Control and bumped Firefox support up t… Dec 16, 2011

README.md

Selenium IDE: Flow Control

Adds flow control to Selenium IDE.

Requirements

  • Selenium IDE 1.0.5 or later

To build on Windows you will need 7-Zip and Robocopy:

Installation

From AMO:

From source:

  • Run build.bat (or build.sh on Linux).
  • Open flowcontrol.xpi in Firefox.

Documentation

Commands

  • label - target label.
  • gotolabel - unconditional jump.
  • gotoIf - conditional jump.
  • while/endWhile - cycle.
  • addCollection - instantiate a collection.
  • addToCollection - adds a value to the indicated collection (JSON objects are ok).
  • storeFor - retrieves the next available value from your collection and stuffs it into the indicated temporary variable. If there's no value available it jumps to the endFor.
  • endFor - marks the end of the execution block.

Examples

See demos folder for examples of all commands.

Credits

  • Andrey Yegorov - Created the original flow control extension
  • Darren DeRidder - Modified the original extension for Selenium IDE
  • Adam Goucher - Author of the Selenium IDE plugin API
  • Dave Hunt - Packaged extension as a plugin
  • Martin "Hasan" Bramwell - Added For/Each looping (as seen in Java)