开发者

passing 3 parameters into a selenium ide command

开发者 https://www.devze.com 2023-02-26 05:03 出处:网络
开发者_如何学PythonIs it possible to pass 3 parameters into a selenium command via IDE? e.g. Selenium.prototype.doSetList =function(array1,array2,storeAsVar)

开发者_如何学PythonIs it possible to pass 3 parameters into a selenium command via IDE? e.g.

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号