Skip to content

martinhbramwell/selenium-ide-flowcontrol

 
 

Repository files navigation

Please Note

I invested a lot of effort into this extension, but got less than zero support from the original author. Subsequently, I ran across SEL-Blocks, a better extension in every way.

Don't waste your time with this extension. Instead go here : https://github.com/martinhbramwell/SEL-Blocks

You'll be glad you did.

Requirements: Selenium IDE v1.0.5

Note:

This is a plugin for Selenium IDE incorporating the flow control extension available at http://wiki.openqa.org/display/SEL/flowControl and http://51elliot.blogspot.com/2008/02/selenium-ide-goto.html

Update 2011/11/15:

Darren DeRidder now calls the script sideflow.js and publishes it here: https://github.com/darrenderidder/sideflow Hasan Bramwell forked it, added ForEach looping and tested it under FireFox 8.0. His fork of sideflow.js is here: https://github.com/martinhbramwell/sideflow

Documentation:

Have a look here: https://github.com/martinhbramwell/sideflow

Installation:

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

Requirement:

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

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 - All I did was turn the extension into a plugin
  • Martin "Hasan" Bramwell - Added For/Each looping (as seen in Java)

===

===

Selenium IDE Flow Control Extension

Let's you do goto and while loops in the Selenium IDE Firefox add-on.

Install

  • Get Selenium IDE for Firefox from http://seleniumhq.org
  • Launch Selenium IDE from Firefox and open the options menu
  • Add the sideflow.js file to the "Selenium Core extensions (user-extensions.js)" field

Authors

  • Andrey Yegorov
  • Darren DeRidder

Resources

ForEach loop enhancement

With this enhancement you can now perform For Each loops on a previously stored collection.

Instructions

You should have no difficulty adapting to your needs the example in ./demos/testForEach.html

The steps are :

|addCollection   |  aSuitableCollectionName           |                                  |
|addToCollection |  aSuitableCollectionName           |  aValue                          |
|addToCollection |  aSuitableCollectionName           |  aDifferentValue                 |
|addToCollection |  aSuitableCollectionName           |  anotherValue                    |
|storeFor        |  aSuitableCollectionName           |  aSuitableTemporaryVariableName  |
|echo            |  ${aSuitableTemporaryVariableName} |                                  |
|endFor          |                                    |                                  |
  • 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

Authors

About

A flow control plugin for Selenium IDE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.2%
  • Shell 9.8%