David Cunningham
David Cunningham

Reputation: 997

passing 3 parameters into a selenium ide command

Is it possible to pass 3 parameters into a selenium command via IDE? e.g.

Selenium.prototype.doSetList =function(array1,array2,storeAsVar)
{
   ....       
}

Upvotes: 1

Views: 2296

Answers (1)

JustBeingHelpful
JustBeingHelpful

Reputation: 18980

Not without making your own plug-in.
http://seleniumhq.org/projects/ide/plugins.html

There are only 2 parameters per command. Just put the 2nd and 3rd into the 2nd and delimit them with a character that will never get used in the command. I used a pipe character.

Example:

Command: setList
Target: valueOfArray1Argument
Value: valueOfArray2Argument|valueOfStoreAsVarArgument

Upvotes: 1

Related Questions